Form validation by adding classes to form elements
Form validation is made so easy using YUI JSValidate script. Click here to download and learn how to use it.
Basically there is nothing to learn there just add classname ‘jsrequired’ to every form element you need the user to enter and likewise.