Alert Box for Form Validation

  • Profile Image
    ravenous
    Asked on March 18, 2014 at 08:52 PM

    Hi

    I have a form that is rather long. When users click the submit button at the bottom of the page, they won't see the highlighted validation error at the top if they have made a mistake... and will be wondering why the form will not submit.

    is there a way to have an alert box that comes instead of the highlighted field. That way the user is clear what they have to do in order to correct the form?

     

    -Ian

     

     

     

  • Profile Image
    ashwin_d
    Answered on March 19, 2014 at 03:17 AM

    Hello Ian,

    Unfortunately, we do not have such feature. To show a alert box, you will have to downlaod your form's source code and add custom Javascript for all fields.

    Our form's does display the error message "There are errors on the form. Please fix them before continuing." just below the submit button. You don't see that in your form? Please let us know which form you are having issue with and we will take a look.

    Thank you!

  • Profile Image
    ravenous
    Answered on March 19, 2014 at 05:41 PM

    Hi Ashwin

    Didn't know about the error message: There are errors on the form. Please fix them before continuing." That feature wasn't working because I had customised the html of the button. Got it working again by re-adding the "form-submit-button" class.

    Thanks for your assistance.

    -Ian

  • Profile Image
    Cesar
    Answered on March 19, 2014 at 10:16 PM

    On behalf of my colleague, thank you for your input. Do let us know of you need further assistance. Thank you.