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

    How can I darken the placeholder text in form fields?

    Asked by PartyD on June 17, 2017 at 09:21 PM

    I'd like to darken the text in placeholders and I don't have a clue what to do with CSS!

    Thank you in advance!

     

    Screenshot
  • Profile Image
    JotForm Support

    Answered by EltonCris on June 17, 2017 at 09:55 PM

    Inject this CSS codes to your form.

    .form-custom-hint {

        color: #424242 !important;

    }

    This should darken the Text Area placeholder color only.

    If you want to include the text box fields placeholder, use this.

    ::-webkit-input-placeholder {

      color: #424242;

    }

    ::-moz-placeholder {

      color: #424242;

    }

    :-ms-input-placeholder {

      color: #424242;

    }

    :-moz-placeholder {

      color: #424242;

    }

    Feel free to change the color to your preference.