disable enter on submit

  • lefthandevents
    Asked on March 8, 2017 at 8:36 AM

    Hello I've created an attendance form and would like it so when a family types their name and selects "enter" nothing happens. Currently if you type your name the natural thing to do is select "enter" but this comes up with a page error. Is there a button that will make it so if a user hits "enter" nothing will happen? The final submission is for the teacher to check a box and them press "submit" but currently if anyone presses the "return key" the form tries to get the user to fill in the required forms.

  • Ian
    Replied on March 8, 2017 at 9:44 AM

    Unfortunately, we don't have an exact option to disable the enter button from submitting your jotform.

    However, it is possible to do this via your jotform's source code. Please see this thread here https://www.jotform.com/answers/818469-Prevent-Users-from-Accidentally-Submitting-a-form-if-Enter-Key-is-pressed  for a workaround provided by one of our supporters who explains how to do that.

     

  • lefthandevents
    Replied on March 9, 2017 at 6:04 PM

    Thanks. I tried to follow those steps but my form did not want to respond properly (I'm blaming operator error) so I found a different work around. I created a check box and hid the Submit button. The "enter" key does nothing until that box is checked! That way once the teacher is ready to submit they can check the box and then the Submit button will appear.

  • BJoanna
    Replied on March 10, 2017 at 5:45 AM

    We are glad to hear that you were able to find workaround for your issue.

    Feel free to contact us if you have any other questions or issues.