FormValidation - The best jQuery validation plugin to validate form fields, support Bootstrap, Zurb Foundation, Pure, Semantic, UIKit frameworks.
I need to allow the date format only yyyy-mm-dd to store into mysql4 data base. I have the validation coding for mm-dd-yyyy format. But i could not modify to convert it to validate required format.
Checks if a date entered is in valid MM/DD/YYYY format. An excellent use of regular expressions for the initial validation routine as well. Also includes logical checks for invalid dates such as March 32 or February 29 if it is not a leap year.