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.asphttp://www.webcheatsheet.com/javascript ... dation.phphttp://www.tizag.com/javascriptT/javascriptform.phpEnjoy!