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

    Required validation check not working within the form

    Asked by tfindlay on December 06, 2013 at 09:32 PM

    If a user mistakenly presses the enter key when in a field there is a message about invalid input but no way for the user to go back to the form. This is a long form and it this happens the user loses all of their input. Is there a way around this?

    Page URL:
    http://simtechhost.com/auowWP/?page_id=352

    Enter key long form message
  • Profile Image
    JotForm Support

    Answered by jonathan on December 07, 2013 at 06:27 AM

    Hi,

    I am not sure what you meant by "no way to go back to the form", because the form is only a 1 page form. 

    You can scroll back up to the form if there is an invlid input on a field from the previous questions.

    If you are instead refering to the captcha field, unfortunately if the first time the captcha field value input is wrong, the submission will cause the form to go to a 2nd page and will ask again for captcha input.

    You may want to disregard the regular captcha then, and instead I recommend to use the new drawing captcha field.  http://widgets.jotform.com/widget/drawing_captcha

    Hope this help. Inform us if there is more we can help you with.

     

    Thanks.

  • Profile Image

    Answered by tfindlay on December 07, 2013 at 11:05 AM
    Hi Jonathan,
    If you click in any field and press enter/return on you keyboard this is what you get. There is no way to return to the form. If you click the Back button you go to the Home page of the site.
    Cheers,
    Terry
    My goal is to someday be the person my dog thinks I am. --Anonymous 🐕
  • Profile Image
    JotForm Support

    Answered by abajan on December 07, 2013 at 03:22 PM

    Hi Terry,

    There's actually a "go back" link which the user can click to return to the form. I just tested your form and it took me to the page to which you referred. Here's a screenshot of the portion of that page which has the link:

    Now, there's a workaround which prevents the [Enter] key from submitting the form but it requires embedding the form's full source into your web page and adding a script, similar to that used in this demo. (The script can be seen in the demo's source.)

    Do let us know if we may be of further assistance with this.


    Thanks

  • Profile Image

    Answered by tfindlay on December 07, 2013 at 05:55 PM
    Thanks, I missed that link.
    Cheers,
    Terry
    My goal is to someday be the person my dog thinks I am. --Anonymous 🐕
  • Profile Image

    Answered by tfindlay on December 07, 2013 at 06:02 PM
    I just tried clicking the “go back” link and it takes you to the Home page, not the form page.
    Cheers,
    Terry
    My goal is to someday be the person my dog thinks I am. --Anonymous 🐕
  • Profile Image
    JotForm Support

    Answered by abajan on December 07, 2013 at 06:33 PM

    Hi again,

    In which browser and operating system did you test the "go back" link? Unfortunately, I was unable to replicate the issue in Firefox (Version 25.0.1) on Windows. When I clicked the link it took me back to the form. However, I should inform you that the link doesn't work at all in Chrome. Upon researching the issue, I discovered why that's the case. A ticket will be submitted to get this rectified but before posting the ticket, I'd like to know which browser took you to the home page, so that that info can be included in the ticket.


    Thanks

  • Profile Image

    Answered by tfindlay on December 07, 2013 at 11:26 PM
    I am using Safari on Mac OS 10.9.
    Cheers, Terry
    Sent from my iPad
  • Profile Image

    Answered by tfindlay on December 08, 2013 at 12:32 AM
    I used Safari in Mac OS 10.9.
    Cheers,
    Terry
    My goal is to someday be the person my dog thinks I am. --Anonymous 🐕
  • Profile Image
    JotForm Support

    Answered by EltonCris on December 08, 2013 at 02:30 AM

    Hi Terry,

    Have you tried re-embedding the form using iframe embed code? The required validation on your form is not working due to script conflicts, re-embedding your form using iframe should prevent any conflicts within your form. And the required validation check should work normally after that so when you press enter key on your keyboard, it should trigger the error validation message instead of redirecting you to the server side validation page.

    Here's how to get your form iframe embed code: http://www.jotform.me/help/148-Getting-the-Form-iFrame-Code

    Please update us if you have further questions about this. Thanks!

  • Profile Image

    Answered by tfindlay on December 08, 2013 at 11:17 AM
    Thanks! That did the trick.
    Cheers,
    Terry
    My goal is to someday be the person my dog thinks I am. --Anonymous 🐕
  • Profile Image
    JotForm Support

    Answered by jonathan on December 08, 2013 at 12:28 PM

    We're glad to know that all is good now.

    Contact us again anytime if you need further assistance.

    Thanks.

  • Profile Image

    Answered by tfindlay on December 08, 2013 at 02:31 PM
    Awesome support! Thanks!
    Cheers, Terry
    Sent from my iPad