How to change the font color for one field in a table

  • Profile Image
    AiTing
    Asked on November 24, 2021 at 05:25 AM

    Hi,

    In my form: https://form.jotform.com/213152983395462

    I have created an input table and used the calculation condition to sum up the numbers in one column and have a total Row at the bottom of the table.

    I saw in the forums that it may be possible for the number appearing in the total row to be a different color. e.g. red using CSS code, but I did not see the code to add. Any help would be appreciated.

    . Thx!


    1637749240_619e11f8cd2f5_

  • Profile Image
    Bojan_J
    Answered on November 24, 2021 at 07:50 AM

    Greetings.

    Please add the following CSS to your form, and it should change the values of the total row to red:

    .form-matrix-tr.form-matrix-value-tr[aria-labelledby="label_156 label_156_row_12"] input {
     color: red;
    }

    You can click here to see how to inject CSS into your form.

    Let us know if you have any additional questions.