Hello all,
when I create a multi-page form nearly everything is checked correctly before changing to the next page. But if you press return (enter) in a textfield to continue (instead of TAB), you receive the "thank-you"-message without any check or without changing to the next page.
How can I prevent that a user pressing the Enter-key is terminating the script without completion?
Thanks in advance!
kalau
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My first response:
On the last page where the submit button appears, there is not much you can do. Anytime you press the return key the form will be submitted.
I will look into alternatives and post again if I find a solution.
In the mean time you might consider making the last page empty with only the submit button.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello all,
when I create a multi-page form nearly everything is checked correctly before changing to the next page. But if you press return (enter) in a textfield to continue (instead of TAB), you receive the "thank-you"-message without any check or without changing to the next page.
How can I prevent that a user pressing the Enter-key is terminating the script without completion?
Thanks in advance!
kalau
My first response:
On the last page where the submit button appears, there is not much you can do. Anytime you press the return key the form will be submitted.
I will look into alternatives and post again if I find a solution.
In the mean time you might consider making the last page empty with only the submit button.