Removing Error Messages on form

  • Profile Image
    mikey11
    Asked on September 19, 2019 at 11:32 AM

    Hello.

    Despite having injected the following css code to prevent error messages, they are still appearing:

    .form-error-message,

    .form-button-error {

        display : none !important;

    }

    The form can be found here: https://eu.jotform.com/build/52985525671365#preview


    Thanks in advance,

    Mike

  • Profile Image
    JohnRex
    Answered on September 19, 2019 at 02:15 PM

    Hi Mike,

    If you mean you would like to also remove the background color for the error, you can replace the code below:

    15689169181970990.png

    With this:

    .form-line-error {

        background: none!important;

    Please try that and let us know how it goes.

  • Profile Image
    mikey11
    Answered on September 20, 2019 at 10:39 AM
    Hi, thank you for your prompt reply, I appreciate it.
    I wanted to keep the coloured background but remove the "This field is required" error
    message that appears despite the css code injection to prevent it.
    However, today the form now seems to be working as intended without me doing
    anything to it. Case closed.
    Cheers,
    Mike
    ...
  • Profile Image
    JohnRex
    Answered on September 20, 2019 at 10:56 AM

    Hi Mike, 

    It might be a cache/browser-related issue but it's good to know that it's now working as expected.