Um, I have a form which has a submi button, when that button is pushed, a javascript is run which basically validates the form. What I want to know is how do I ativate the cgi script behind the form after the validation check has been completed.
there's a few ways. One way would be to change your submit button to a regular button
<input type=button onClick="dovalidation()">
Use the onClick to activate your validation routine. Then inside your validation routine if everything checks out you can use javascript to submit the form like so:
document.formname.submit();
__________________
Spookster
CodingForums Supreme Overlord
All Hail Spookster
Who gave you that Ugging infraction? Yeah that's right it was me!