Menu

Return(Enter) on multi-form-pages ends script

Help
kalau
2009-01-23
2013-06-03
  • kalau

    kalau - 2009-01-23

    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

     
    • TNTEverett

      TNTEverett - 2009-02-01

      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. 

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.