jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

Adding validations for minimum and maximum dates

Open etcho opened this issue 7 years ago • 1 comments

Changing the date validation function, adding optional attributes min-date and max-date. If informed, it sets an allowed range for the date. It checks following this order: valid date, minimum date, maximum date. Both data-validation-min-date and max-date should be informed using the same format as the field (yyyy-mm-dd as default or any format informed through data-validation-format). English and portuguese locales are ok. The other ones are untranslated.

Requested on issue #656

etcho avatar Nov 16 '17 00:11 etcho

Feel free to raise your PR here: https://github.com/Amedeo91/jQuery-Form-Validator

Amedeo91 avatar Mar 29 '20 17:03 Amedeo91