Using JavaScript to Secure a Form

 

The Computer Gal Account Sign Up
First Name
Last Name
User Name
(4 to 15 letters)
Password
(up to 10 letters)
Email Address

Home
  1. Create a form in HTML. Customize it to the needs of your web site.
  2. Be sure that your form and all the fields have names with no spaces.
  3. Click the link above and print out the page of code and explanations.
  4. Use the pattern shown in the code to make your form validation.
  5. Do the validation one fields at a time and test the scripting in your browser before you add the next field. Customize your validation to match the needs of your form.

Nora McDougall | Missoula, Montana 59801 | 406.253.4045 | info@thecomputergal.com
© 2009, Nora McDougall

 

 

Nora McDougall | Missoula, Montana 59801 | 406.253.4045 | info@thecomputergal.com
© 2009, Nora McDougall