A
Aaron C
I'm validating a form that has two buttons ("Next" and "Back"). The call
to the script is currently in the form's onSubmit() handler. Upon
pressing either button, the script runs. This is understandable, since
either button press is considered a submit. Is there a way to test which
button was pressed to determine whether or not to run the script?
Thanks,
Aaron
P.S. I've already tried attaching the same script to the "Next" button's
onSubmit() handler, and when doing so, the script is apparently never run.
to the script is currently in the form's onSubmit() handler. Upon
pressing either button, the script runs. This is understandable, since
either button press is considered a submit. Is there a way to test which
button was pressed to determine whether or not to run the script?
Thanks,
Aaron
P.S. I've already tried attaching the same script to the "Next" button's
onSubmit() handler, and when doing so, the script is apparently never run.