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

    Prompt needed if "Required" fields aren't entered

    Asked by sweprin on July 27, 2011 at 07:46 PM

    My form is rather long


    I have two fields, close to the top, which are required.

    If someone hits the "Submit" button down at the bottom, and if the required fields aren't completed, the user might never know what's wrong unless he happens to scroll back up.

    How can I add a prompt directing the user that there are required fields that they missed?



  • Profile Image
    JotForm Support

    Answered by abajan on July 27, 2011 at 09:22 PM

    Hi Steve

    You make a good point. (I believe you are referring to the Next button and not the Submit button because while the former does not give any indication that a required field has not been completed, the latter does.)

    Unfortunately, since conditions cannot be attached to Page Breaks (to do something like hide them and show a free text (HTML) message informing the user that there are incomplete required fields) the best solution I can presently offer is to remove the page break altogether. That way, when the user clicks the Submit button they will see a "There are incomplete required fields. Please complete them." notice if they had not completed any such fields.

    I will submit a request for a notice similar to the one in red above to be displayed if Next is clicked when there are unfilled required fields on the page.

    Thanks for alerting us to this shortcoming. If there's anything else form related with which you require assistance, please let us know.

    ~ Wayne

  • Profile Image

    Answered by sweprin on July 28, 2011 at 06:04 PM


    Thanks for the response. Actually, in my ideal world, a pop-up alert saying "There are incomplete required fields. Please complete them." would be a condition of either the "Next" botton OR the "Submit" button. Reason is that I don't want the User to leave that first page without completing those required fields.

    What are your thoughts?


  • Profile Image
    JotForm Support

    Answered by abajan on July 28, 2011 at 07:49 PM

    Hi again

    Currently, neither the Next button nor the Submit button allows the user to advance if there are incomplete required fields on the same page. The difference lies in the fact that while the Submit button gives the "There are incomplete required fields. Please complete them." warning, the Next button shows nothing. It just sits there, remaining unclickable. On a long page containing required fields only near the top (like the first page of your form) users who neglected to complete those fields and clicked the Next button would likely think that that button is malfunctioning because they would not see the "This field is required." warning on the required fields beyond the top of the browser's screen.

    So, the feature that needs to be requested in the yet to be submitted ticket (I just wanted to be sure we're on the same page - no pun intended) is for the Next button on page break fields to have a similar warining as what obtains with submission button fields. (Of course, there would be no need for such a warning to be triggered when the Back button is clicked.)

    ~ Wayne

    P.S. You will see a new notification of a junk submission in your inbox and that submission in the submissions page of your Production & Quote Request form. Sorry about that. I clicked the "Submit Form" button to make sure the warning message would be triggered, forgetting that there were no required fields on that page. I will revert your submission count to whatever it was before.