Is it possible to change the color of the error message and border?

  • timbroer
    Asked on February 16, 2018 at 10:58 AM

    Dear Jotform,

    I'm wondering if it is possible to change the color of an error message or error border.
    So far I have only managed to show a red border and an error message. I would like to have an orange border and error message instead of red. 
    So could you explain which css code I need to add to change this?

     

    Thanks in advance,

    Jotform Thread 1386972 Screenshot
  • Nik_C
    Replied on February 16, 2018 at 12:35 PM

    Please try inserting the below CSS to your Custom CSS Field:

    .form-error-message {

        background-color: orange!important;

    }

    .form-error-arrow {

        border-bottom-color: orange!important;

    }

    .form-line-error input:not(#coupon-input), .form-line-error select, .form-line-error textarea, .form-validation-error {

        border: 1px solid orange!important;

    }

    Let us know how it worked.

    Thank you!