jQuery Form Validation

Data Validation

Data validation is the process of ensuring that computer input is clean, correct, and useful.

Typical validation tasks are:


has the user filled in all required fields?
has the user entered a valid date?
has the user entered text in a numeric field?
Most often, the purpose of data validation is to ensure correct input to a computer application.

Validation can be defined by many different methods, and deployed in many different ways.

Server side validation is performed by a web server, after input has been sent to the server.

Client side validation is performed by a web browser, before input is sent to a web server.

For example, If we create a contact form, we can check whether the inputs are filled in a correct column or not. Different methods are using for form validation.

Here you can see a sample HTML markup for the Form Validation :



Add "mail_temp.htm" & "emailer.php" in your folder. It's links are below

https://drive.google.com/file/d/0ByOE3szLgwuSemRxY1h2aWx0QVE/view?usp=sharing
https://drive.google.com/file/d/0ByOE3szLgwuSNVBaRjdvQTB5RnM/view?usp=sharing


That's it, You are done! Now you have an idea how to set up form validation jQuery.

No comments :

Post a Comment

Instagram