Oct 26, 2013
0 0

Jquery validation

Written by

Today everybody is using Jquery form validation. Some times the textbox id becomes dynamic. Then this code example is helpful to developers. This validation is calling by CSS calss. So, we do not need to call the Textbox ID.

Jquery Form Validation

Validation calling using CSS “required”. There are different types of validation options are available here. You can goto line number 229 of juery.validate.js, Here you can change your error messages or you can put it blank.

required: "",
remote: "Please fix this field.",
email: "",
url: "",
date: "",
dateISO: "Please enter a valid date (ISO).",
dateDE: "Bitte geben Sie ein gültiges Datum ein.",
number: "Please enter a valid number.",
numberDE: "Bitte geben Sie eine Nummer ein.",
digits: "Please enter only digits",
creditcard: "Please enter a valid credit card number.",
equalTo: "Please enter the same value again.",
UserID: "Please enter Alpha Neumeric Value again.",
accept: "Please enter a value with a valid extension.",
maxlength: $.format("Please enter no more than {0} characters."),
minlength: $.format("Please enter at least {0} characters."),
rangelength: $.format("Please enter a value between {0} and {1} characters long."),
range: $.format("Please enter a value between {0} and {1}."),




Works at:




Share this:
Article Categories:
jQuery · Web Development

Hi guys, This is the place where developers are sharing there thoughts....

Leave a Comment

Your email address will not be published. Required fields are marked *

Result of *

Social Widgets powered by