How do I change the colour of the error state field borders (from red to another colour - css please)

  • rbalemi
    Asked on May 10, 2022 at 11:04 PM

    How do I change the colour of the error state field borders (from red to another colour - css please)

    Jotform Thread 4002702 Screenshot
  • roneet
    Replied on May 10, 2022 at 11:30 PM

    Hello Ryan,

    Please allow me some time to take a look at the form so that I can share the related CSS with you.

  • roneet
    Replied on May 10, 2022 at 11:48 PM

    Hello Ryan,

    To change the border color of the error message, inject this CSS:

    .form-line-error input:not(#coupon-input),.form-line-error textarea,.form-line-error .form-validation-error {
     border: 1px solid black;
     box-shadow: 0 0 3px black;
    }

    To add CSS to the form, go through this guide.

    Give it a try and let us know how it goes.