Direktori : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/ |
Current File : /home/athamevents/www/admin/assets/lib/jquery-validation/src/additional/dateNL.js |
$.validator.addMethod("dateNL", function(value, element) { return this.optional(element) || /^(0?[1-9]|[12]\d|3[01])[\.\/\-](0?[1-9]|1[012])[\.\/\-]([12]\d)?(\d\d)$/.test(value); }, "Please enter a correct date");