Validation message colors

  • Profile Image
    mitmuseum
    Asked on October 20, 2016 at 02:52 PM

    This css changes the colors of the boxes that the validation error messages appear in. But it does not change the color of the little triangle or the text at the bottom. How do I change those as well?

     

    .form-line-error .form-error-message {

        background : #C5C531;

    }

     

    .form-error-arrow {

        border-bottom-color : #C5C531;

    }

     

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

        border : 1px solid #C5C531;

        -moz-box-shadow : 0 0 3px #C5C531;

        -webkit-box-shadow : 0 0 3px #C5C531;

        box-shadow : 0 0 3px #C5C531;

    }

     

    .form-validation-error {

        border : 1px solid #6C9DBE;

        -moz-box-shadow : 0 0 2px red;

        -webkit-box-shadow : 0 0 2px #6C9DBE;

        box-shadow : 0 0 2px #6C9DBE;

    }

     

    .form-error-arrow {

        color : #6C9DBE;

    }

  • Profile Image
    Irshad
    Answered on October 20, 2016 at 06:48 PM

    Please try to inject the below custom css code:

    .form-line-error .form-error-message .form-error-arrow {

        border-bottom-color: #C5C531!important;

    }

    .form-button-error {

    color: #C5C531!important;

    }

    You can also verify it on my clone form here: http://jotform.com/62937384725972

     

    If you face any issue or need further assistance, feel free to revert back.

     

    Thank you.