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 color of read-only text

    Asked by ubernederland on May 24, 2016 at 08:34 AM


    I have a few read-only fields, of which I would like to change the color to grey - without affecting the color for all the other input fields.

    Can this be done, and if so, how?


  • Profile Image

    Answered by Ben on May 24, 2016 at 10:47 AM

    Yes, you can do that by adding this CSS to your form:

    [readonly="true"] {
        background-color: lightGray;

    You can add it based on the steps mentioned here: Inject Custom CSS Codes

    Do of course let us know how it goes and if you have any questions in regards to the same.