I am using jQuery Validate plugin to validate my form, how can i validate a custom date with this date format DD-MMM-YYY (23-Mar-2012).
Create a custom validator:
jQuery.validator.addMethod("mydate", function(value, element) { return this.optional(element) || /^\d\d?-\w\w\w-\d\d\d\d/.test(value); }, "Please specify the date in DD-MMM-YYYY format");