How can I remove the error message that results from required fields on my form?

  • Ray_Burt
    Asked on November 3, 2020 at 1:10 PM

    Hello,

    How do i completely remove the Error Navigation message and box about the form? Screen shot attached. Thanks

    Jotform Thread 2677091 Screenshot
  • Kat JotForm Support
    Replied on November 3, 2020 at 4:09 PM

    Hi there,

    Happy to help!

    This error message is due to the required fields not being filled in. You can remove this message by removing the requirement for the fields, but please note that, if you disable the required fields toggle, users can submit your form without filling these fields out:

    1604437377 5fa1c581c9c93  Screenshot 10

    I made a clone of your form and have removed the requirements for these two fields in particular. Here is a link to the cloned form if you'd like to test it for yourself: 203076744086963

    First, navigate to the properties of the form fields and set the Required toggle to OFF:

    1604437589 5fa1c65592ad4 unrequire field Screenshot 21

    Now, the user can continue without submitting these fields, and the error message is no longer shown:

    1604437694 5fa1c6be3d0ee unrequire field Screenshot 32


    I hope this helps! Please let us know if we can assist with anything further.

  • Ray_Burt
    Replied on November 3, 2020 at 4:28 PM

    We need those fields as a requirement. Is there a way to simply remove the Error Navigation box at the top of the form and only highlight the fields if they are not completed? That error box at the top needs to go away while keeping the requirement of the individual fields.

  • Kat JotForm Support
    Replied on November 3, 2020 at 6:20 PM

    Hi there,

    You can delete the Error Navigation box with custom CSS while keeping the form fields required and highlighted. Here's our guide on how-to-inject-custom-css-codes

    1) To inject the CSS code: click on the paintbrush Form Designer icon on the right hand side of the screen in your Form Builder:

    1604444501 5fa1e15595010  Screenshot 10

    2) Click the Styles tab, then scroll down to Inject Custom CSS. Upon inspecting the clone of your form, it seems that you are already well-versed in this process:

    1604444648 5fa1e1e8ab25d  Screenshot 21

    3) We'll insert the following to remove the Error Navigation Container:

    .error-navigation-container .error-navigation-inner .error-navigation-message { display:none;}

    .error-navigation-next-button .error-navigation-done-button { display:none;}

    Could you please try the proposed solution and let us know if the issue persists? Thank you!

  • Ray_Burt
    Replied on November 4, 2020 at 11:33 AM

    that custom CSS removes the text in the Error Navigation bar at the top of the form but does not remove the bar itself. We need to completely remove the error navigation bar.

  • Carlos_C
    Replied on November 4, 2020 at 1:23 PM

    Hello,

    Please add the following CSS in your form:

    error-navigation-container {

    display:none;

    }

    form-error-message {

    display: none;

    }

    Guide https://www.jotform.com/help/117-how-to-inject-custom-css-codes