1. Home
  2. Computing & Technology
  3. JavaScript

Form Validation

If you have forms on your site then you will want to validate what your visitors enter into the form before the form is processed. You will probably need server side validation to confirm the content after the form is submitted but it would be much nicer if you can validate what your visitors are entering as they enter it. This tutorial series will take you step by step through some of the many validations that you may wish to implement to perform this validation using Javascript.
  ,
Gender:

* required

Is your email box being filtered for spam? Don't let your newsletters end up in the trash. To ensure that you receive your mailings, please configure your spam filters to bypass any messages with a from address that ends in "about.com" (ex: newsletters@about.com). For more detailed information, please see our Email GuideSite.

Explore JavaScript
About.com Special Features

Stay connected and entertained with reviews on tips on the latest HDTVs, cellphones and more. More >

Easy ways to connect two computers for networking purposes. More >

  1. Home
  2. Computing & Technology
  3. JavaScript
  4. Javascript Tutorials
  5. Tutorials by Email
  6. Form Validation

©2009 About.com, a part of The New York Times Company.

All rights reserved.