Change question to red text

  • Profile Image
    bellneu
    Asked on June 17, 2020 at 11:54 AM

    I want to change 2 questions (or the labels on the number fields) to red and i am not sure how to use CSS to do it. Can you please help? I could do it if I had an HTML option but I don't' so I need to use CSS. I read the help article but I am not familiar with CSS. I don't want to change all the questions to red only 2 of them. 

     

    I tried to do things the way it was suggested in the other case and have these fields hidden and only show the error message which is crossed out but then users could submit their forms without fixing errors. It appears Jotform does not do any error checking on hidden fields and i cannot display an error on a shown field based on the value of a hidden field. I gave up and want to do it this way because I need to get this implemented and start using it. 

    1592409096Screen Shot 2020-06-17 at 10.3

  • Profile Image
    BJoanna
    Answered on June 17, 2020 at 12:47 PM

    Please add the following CSS code to your form:

    label#label_40, label#label_41 {

        color: red;

    }

    How to Inject Custom CSS Codes