What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to prevent submit the form when user hits the return key.

    Asked by CaitlinHicks on April 19, 2016 at 03:19 AM
    Also, I noticed in testing that when I hit the return key it automatically submits the form. Is there someway to disable that? Users might hit return when they mean to navigate to the next question vs submitting the entire survey. 
  • Profile Image
    JotForm Support

    Answered by Chriistian on April 19, 2016 at 05:20 AM

    You can prevent the user from accidentally submitting the form when hitting the return key by setting all or most of the fields as required. That way, the form will only be submitted if all the fields have been filled.

    To set the field as required, please follow the steps below:

    1. Click the field

    2. Turn on Required button.

    Here's a cloned version of your form so you can see it in action: https://form.jotform.com/61092427737964.

    If you need further assistance, please let us know.
    Regards.

     

  • Profile Image

    Answered by CaitlinHicks on April 19, 2016 at 12:40 PM

    Thanks for your answer. Unfortunately in this case, I do not want to require my customers to fill out every or even most of the measurement questions, as the ones I need vary customer to customer. 

    Is there an alternative way to turn off the return command submitting the form? 

     

    Thanks

  • Profile Image
    JotForm Support

    Answered by BJoanna on April 19, 2016 at 01:57 PM

    As an alternative, you can add page break to your form above submit button inside of Form Builder. This will prevent your users to submit the form when hitting the enter button and there will be only submit button on second page of your form.

    Inside of this guide , you can find how to add create multi page form: 

    http://www.jotform.com/help/119-How-to-Create-Multi-Page-Forms 

    Here is my demo form: https://form.jotform.com/61094919920966? 

    Hope this will help. Let us know if you need further assistance.