How Do I Change the Color of the Hint (Placeholder) Text in Textboxes?

  • thrivinglife
    Asked on December 16, 2015 at 5:39 PM

    I want to change the color of label inside the textbox.

    which is not alloed by the setting or maybe I am not able to get that.

    Please help me with that

    Thank you!

  • abajan Jotform Support
    Replied on December 16, 2015 at 7:05 PM

    Please do the following:

    1. Copy the following code to your clipboard:

    *::-webkit-input-placeholder {
       color: red;
    }

    *:-moz-placeholder {
       color: red;
    }

    *::-moz-placeholder {
       color: red;
    }

    *:-ms-input-placeholder {
       color: red;
    }


    2. Load the form into the form builder and click the Preferences button

    3. Click the Form Styles tab and then click the scroll to the bottom of the injected CSS

    How Do I Change the Color of the Hint (Placeholder) Text in Textboxes? Image 1 Screenshot 20

    and paste the code copied in step 1, substituting the color you prefer for each instance of red

    If you leave the code provided as is, the result would be like this clone of your form. Should you need further assistance with this, please inform us.

    Thanks