Integrating with flatpickr

The form below is an example of using the date validator with flatpickr, a lightweight and powerful datetime picker.

Tip

You should look at the basic principle when integrating FormValidation with 3rd party libraries

If you look at the sample code in the Code tab, the date field has to be revalidated after picking a date from the date picker. You have to do the same thing for any date picker.

More examples

Related validators

The following validators might be useful to you.