InActive Before/After
Configures the DatePicker Control to disallow selection of past or future dates. To restrict the selection/input of dates in the DatePicker based on the current date, you can use options such as gt
(Greater Than), gte
(Greater Than or Equal), lt
(Less Than), and lte
(Less Than or Equal).
For example, if you want to restrict dates to be greater than or equal to the current date, you can set the option to gte
with the current date.
[Image 1. InActive Before/After - gte Configuration]
When the DatePicker Type is set to Date Range
, a Date Interval Limit
option is added to specify the number of days that can be selected. You need to set the Date Interval Limit
which allows you to inuput the number of days to restrict the date range.
Based on the set value, you can select a date range. If the select range exceeds the limit, an error check will be performed on the screeen.