Validate and Submit
Posted on 2007-11-25
I have been wracking my brain all morning and haven't come up with anything so here goes:
I have a form with this basic structure:
<form action="script.php" name="askExpert" onSubmit="return validateForm(this)" />
/-----Form Input fields-----/
<img src="submitbutton.jpg" alt="Submit" border="0"></a>
The form submits perfectly.
What do I need to add for both events to be fired?
Thanks in advance for your help!