If your host offers ColdFusion you can use the <cfform> tag instead of <form> and ColdFusion will create the validation for you if you insert required="yes", message="text to display when entry is not valid " to any form field tag. Coldfusion will then write a javascript validation routine for each form filed that you have made required.