How can I change the background color on validation failure?

  • Profile Image
    aug70co
    Asked on December 27, 2012 at 07:35 PM

    Seems form background turns to red when there is a problem with form field validation.

    How can I keep the form color intact on validation failure?

  • Profile Image
    Welvin
    Answered on December 27, 2012 at 08:27 PM

    Hi,

    You can change it by injecting a custom CSS to your form;

    .form-line-error {

    background: red !important;

    }

    Change "red" to the color you want.

    Or, you can removed/make it transparent by injecting this custom CSS codes;

    .form-line-error {

    background: transparent !important;

    }

     

    Thanks