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 change cell background color in email alert

    Asked by kingkest on September 01, 2015 at 08:57 AM

    I have a question Would you like to create another door? I am trying to make it Red. I usedYES but when I did my conditions stopped working for that question but when i take the code out it works.

    Page URL:
    http://www.jotform.com//?formID=51825964962165

    css code cell background email background
  • Profile Image

    Answered by kingkest on September 01, 2015 at 09:54 AM

    Just the Yes and No need to be red.

  • Profile Image

    Answered by Sammy on September 01, 2015 at 12:31 PM

    You can use the form designer to target the two labels using their ID

    In the CSS tab of the designer add the following CSS snippet at the end of the editor

    #label_input_30_1,#label_input_30_0 {
    color:red;
    }

    The id values correspond to the ones for the label, you can use your browser inspector to check also in the CSS tab you can double click on the label to automatically add it to the editor window on the right

     

  • Profile Image

    Answered by kingkest on September 01, 2015 at 12:34 PM

    My boss told me instead of red words to make it a yellow background. I achieved this on your form designer BUT it does not change it in the email.

     

    So basically I need Black words a yellow background on the text for Yes and it needs to show on the Email.

  • Profile Image
    JotForm Support

    Answered by Mike on September 01, 2015 at 02:49 PM

    This is possible to change the cell background color in email notification template, but this is not something that you can use together with the 'Hide Empty Fields on Emails' option which is currently enabled on your form.

    You will need to unlock data table on email template to disable the 'hide empty' option and then change the cell background color. Please see the next animation.

    Thank you.