posted 19 years ago
But anyway to stop a form from submitting you need to use the onsubmit handler in the form tag.
<form onsubmit="return validate()">
where validate is the function that is called to perform the validation methods you are working on.
By returning true, the form submits, by returning false the form does not submit.
Eric