Images in this article missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at info@codegain.com
We need to call the javascript input validation function when submitting the form in "onsubmit" event. Here is the calling method written as follows,
The field should be validating is like as following,
{codecitation class="brush: javascript; gutter: true;" width="500px"}
function InputValidation (form){ if (form.email.value == "") { alert( "You should enter your email address." ); form.email.focus(); return false ; } return true ;}
{/codecitation}
...S.VinothkumaR.
http://vinothnat.blogspot.com