Mulitple onSubmit in a form
I have a form:
The stamp function does not seem to want to work with the checkform function. When I take one out it works. How can this be fixed?
Thanks,
Jody
I have a form:
The stamp function does not seem to want to work with the checkform function. When I take one out it works. How can this be fixed?
Thanks,
Jody
Suzanne posted this at 21:14 — 24th January 2003.
She has: 5,507 posts
Joined: Feb 2000
Put the stamp function within the checkform function.
ROB posted this at 16:44 — 26th January 2003.
They have: 447 posts
Joined: Oct 1999
or call the stamp() function before you return.
onsubmit="stamp(); return checkform(this);"
once you return true the form is submitted, so stamp() is never called.
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.