Custom CSS: How can I change the color of background when field is selected?

  • Profile Image
    Meghan_Kelley
    Asked on July 01, 2021 at 10:04 PM

    When I go to fill in a box, it highlights in yellow while it’s being filled. Is there a way to take that highlight away?
    thanks

  • Profile Image
    Zahra_S
    Answered on July 02, 2021 at 06:28 AM

    Hi there,

    Please allow us some time to look into this issue and find a solution. We will get back to you soon.

  • Profile Image
    Zahra_S
    Answered on July 03, 2021 at 01:33 AM

    Apologies for the delay.

    Please add the following CSS in your form:

    .form-line-error{
     background-color: #5a060e !important;
    }
    .form-line.form-line-active{
     background-color: #5a060e !important;
    }

    Related Guide: How to Inject Custom CSS Codes

    Here's the form I cloned for testing: https://form.jotform.com/211831186708962. Feel free to test it on your end.

    I hope this helps. Please let us know if you need further assistance.

  • Profile Image
    Meghan_Kelley
    Answered on July 03, 2021 at 02:22 AM
    Thank you so much!!
    Get Outlook for iOS
    ________________________________
    ...