Preventing form to submit when user hit "Enter" after authorization code?

  • Profile Image
    Asked on February 02, 2015 at 10:25 AM


    This is great, but i have a couple of questions.

    1. When using the form, if i type in the authorisation code and hit 'enter' it automatically submits the form. I even set one of the 'hidden' fields as required to try and prevent this but i still have the same issue. Obviously I've learnt this now, but for others using the form i don't want to have to tell them to NOT hit the enter button after typing the code in...

    2. Is it possible to using all the style guide suggested above - but just add a logo above it as well?

    This is a re-post of a comment on Simple 'password' protection of your jotform

  • Profile Image
    Answered on February 02, 2015 at 12:20 PM


    Please log in using your JotForm account so we can assist you properly.

    Is this the form that you're referring to?

    Once you put the authorization code, the form will automatically show up. If you want, you can use the  page break tool so that if the user input the correct code and hit next, it will direct to the page where the form is.

    I created a demo form with the same authorization code, please check it here:

    I created 3 pages. If the code is incorrect, it will go to Page 2. If it is correct then it will skip to Page 3. Please check the demo  form structure regarding page break and the conditions.

    Hope this helps. Let us know if you need any help. Thank you.


  • Profile Image
    Answered on February 02, 2015 at 12:22 PM

    Your other inquiry was moved to another thread:

    Thank you for understanding.