Hi Friends,

Today I will write on JavaScript Validation. Earlier when I started my technical career, I have always have to write JavaScript validation for my every form in every website it takes so much time of me. So I started looking forward for such script available on the internet.

Here is one of the script available on the internet:

JavaScript Form Validation Script

This is very easy script to work on. There few easy steps to make this work

  1. Download the script from here javascript_form. The main Link where I found this is Link.
  2. Attach “gen_validatorv4.js” in your form page
  3. Display Form
  4. Attach Validator to the form element

Here is the example:

HTML File

 

Thank you