Javascript Error check routine before form submit
by Patty Toretti <ptoretti(at)home.com>
|
Date: |
Mon, 04 Sep 2000 18:32:59 -0700 |
To: |
hwg-languages(at)hwg.org |
|
todo: View
Thread,
Original
|
|
Hi!
I can't get this dad-blasted form to work right.
I'm trying to do some error checking and then, if all is OK, submit the puppy.
If I make the button type SUBMIT, it moves on regardless of the error
checking result. I've tried calling the validation routine from both the
onSubmit method of the form and also from the onClick method of the button.
If I make the button type BUTTON, I can run the validation just fine, but
when I then try to submit the form by multi.submit (where multi is the form
name) I get a javascript error, "multi" is undefined.
The form is found at:
http://www.clayhead.com/eden/orderform.htm
ANY help will be vastly appreciated. If there's a better way to do this,
I'm certainly open to it.
Patty Toretti
ptoretti(at)home.com
HWG: hwg-languages mailing list archives,
maintained by Webmasters @ IWA