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

    Add validation feedback at the bottom of a long form

    Asked by gkeune on November 11, 2011 at 10:05 AM

    HI,

    Is there any way to either add a message at the bottom of a form, or have an alert appear when validation fails? I have several long forms, and if there's a validation error upon submit, the user often does not know why their form is not being processed.

     

    Thanks,

    Glen

  • Profile Image

    Answered by gkeune on November 11, 2011 at 10:29 AM

    OK, answering my own question. It's not exactly what I'm looking for, but it'll work.

    In the jotform.js file, around line 2394 (in the validateAll section) I added this:

        if(ret == false) {
            alert("One or more fields are missing their required data.");
         }

    Just above return ret;

    Hope it helps.

  • Profile Image

    Answered by fxr on November 11, 2011 at 01:29 PM

    Clever fix, thanks for sharing it.

    I believe the developers are looking at a few of these types of issues with longer forms, so hopefully we will see a more straightforward way of presenting your user with clearer feedback to users of longer forms.