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 to add different back ground colors in the matrix table ?

    Asked by swapna_summit on July 22, 2014 at 03:59 AM

    I have to add these for only two matrix table in my form and not every table.

    Screenshot
    table different matrix table and
  • Profile Image
    JotForm Designer

    Answered by omer on July 22, 2014 at 04:31 AM

    Hi swapna_summit,

    Can you write the lines below into the Inject CSS box?

     

    #cid_23 .form-matrix-table tr td { background-color: #d6e3bc; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+13) { background-color: #eaf1dd; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+9) { background-color: #c6d9f1; }

    #cid_23 .form-matrix-table tr td:nth-child(-n+5) { background-color: #daeef3; }

     

    If you have any further help, please let me know.

    Have a good day.

  • Profile Image

    Answered by swapna_summit on July 22, 2014 at 05:41 AM
    Hi

    I have injected this css code ,but the matrix didn’t updated ???

    Thanks.

    ...
  • Profile Image

    Answered by swapna_summit on July 22, 2014 at 06:11 AM
    Hi


    Thanks it worked now

    ...