What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Changing label font color and background color when the form field is active

    Asked by Onika_g on October 06, 2015 at 04:59 PM

    When answering questions, the text disappears in a white background. How do change this? Thanks

    Page URL:
    https://www.jotform.com//?formID=52445804146353

    change color font color label font color background color form field active remove highlighting focused fields bright background background highligh
  • Profile Image
    JotForm Support

    Answered by Jan on October 06, 2015 at 07:03 PM

    Would you like to change the label's font color or the background color of the form field when it is active?

    If you want to change the label's font color, then please use this custom CSS code.

    .form-label-top, .form-label-left, .form-label-right {

        color: #000000 !important;

    }

    If you want to change the background of the form field when the it is active, then you can use this one.

    .form-line-active {

    background-color: transparent !important;

    }

    You can choose any color want in the background color. If you want to turn the highlighting off, then you can use the transparent value.

    Here's a guide on how to inject custom CSS code if you need one.

  • Profile Image
    JotForm Support

    Answered by abajan on October 06, 2015 at 07:22 PM

    @Onika_g

    In addition to my colleague's suggestions, In case you were referring to the light-yellow background on fields when they have the focus and also on the light-pink background when required fields are not filled, the following would fix these issues:

    1. Go to the Field Styles tab of the form's Preferences and disable the effect:


    2. That removes the light-yellow highlight. To remove the light-pink highlighting on unfilled required fields, inject the following CSS:

    .form-line-error {
      background: transparent;
    }

    When done, your form should behave like this clone. However, if we have not properly addressed the issue, please inform us.


    Thanks