A date field (datepicker) is a special input field with a widget for selecting a date.
If the date field is required, use the required parameter.
The calendar widget will not allow selecting a date outside the allowed range.
There is no dedicated date range widget, so use separate input fields to specify the boundaries.