Mulitple onSubmit in a form

They have: 38 posts

Joined: Dec 2002

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
Smiling

Suzanne's picture

She has: 5,507 posts

Joined: Feb 2000

Put the stamp function within the checkform function.

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.