I googled it and found a good solution here http://stackoverflow.com/questions/511439/custom-date-format-with-jquery-validation-plugin but it was validating only the formatting i.e. 30-Feb-2010 is a valid date if the formating string was dd-MMM-yyyy. In our case 30-Feb-2010 should be invalid date.
The solution I got is to define custom validator for date as shown below :
Now I am able to use this custom validator as :
Hope it helps you.
~~~ Bhagwat Kumar ~~~~
Groovy, Grails, Java, J2EE, Open Source, Agile enthusiast , JQuery lover
You May Also Like
Get latest articles straight to your inbox. Enter your email address below: