Validating date range

The following form asks you to enter a date in the range of 2000/01/01 and 2020/12/30. It can be implemented by using the min and max options.
Validating date range
You also can use the callback validator and isBefore(), isAfter() methods provided momentjs to check if the date is in the range.
Validating date range using the momentjs library
Use the StartEndDate plugin if you want to validate start and end dates

See also