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

    I would like to colour specific results on dropdown menu. Is this possible?

    Asked by sdksupport on August 04, 2014 at 11:02 AM

    I am creating a results table and need to include "Pass" and Fail". I would like to colour the text Green and Red for easy indication. Is this possible?

    colour table and
  • Profile Image
    JotForm Support

    Answered by KadeJM on August 04, 2014 at 12:14 PM

    Yes, that is possible. You can do this with some custom injected css via the drop-down field on your form.

  • Profile Image

    Answered by sdksupport on August 05, 2014 at 05:53 AM

    Thanks

    Can i also colour code the text inside a dropdown menu?

    EG

     

    My final result dropdown menu has "Passed" and "Failed". Can i colour each option separately?

  • Profile Image
    JotForm Support

    Answered by ashwin_d on August 05, 2014 at 07:29 AM

    Hello EG,

    Please inject the following custom css code in your form to change the color of "Passed" as green and "Failed" as red:

    #input_59 option:nth-child(odd) {

    color: red !important;

    }

    #input_59 option:nth-child(even) {

    color:green !important;

    }

    The following guide should help you on how to inject custom css code:  https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes

    The above custom css code will give you the output as shown in the screenshot below:

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!

  • Profile Image

    Answered by sdksupport on August 05, 2014 at 07:35 AM

    Super....thanks for your help

  • Profile Image
    JotForm Support

    Answered by ashwin_d on August 05, 2014 at 07:40 AM

    Hello sdksupport,

    You are welcome.

    I'm very pleased that I was able to help you.

    Do get back to us if you have any questions.

    Thank you!