Page 1 of 1

Anyone know javascipt?

PostPosted: Sat Nov 21, 2009 12:06 am
by X-Daytona10-X
I need some help on some javascript form validation. Does anyone know a decent amount of javascript to help me out? or know a website?

Re: Anyone know javascipt?

PostPosted: Sat Nov 21, 2009 8:00 am
by KOko
I used to be JavaScript teacher about 9 years ago... then I moved to more trade oriented activities.

What do you exactly need ?
To validate a form you simply need to check the value of the fields for certain conditions, for example the email field should definitely contain "@" and "." at least 3 characters after.

If you don't want directions, but the exact code example I will have to dig up some old works...

PS: Some fast Google search on "javascript form validation" brings enough examples:
http://www.w3schools.com/js/js_form_validation.asp
http://www.webcheatsheet.com/javascript ... dation.php
http://www.tizag.com/javascriptT/javascriptform.php

Enjoy!

Re: Anyone know javascipt?

PostPosted: Sat Nov 21, 2009 11:23 am
by X-Daytona10-X
Well right now my validation with javascript is a window that pops up tell you to fill in so and so blank, but im also looking for that it puts a red border around the needed box if you didn't fill it in.