JQuery validation to check valid mobile number format
How to validate mobile number using JQuery validator?

Script to validate mobile number:

jQuery.validator.addMethod("MobileNumberValidator", function(value,element){
return this.optional(element) ||
/^91\d{10}$/.test(value);}, "Kindly input mobile number starting with 91");


Write
×