Drop down box in different colors.

  • amystreasures
    Asked on April 12, 2017 at 1:38 AM

    So basically I have 3 drop boxes and one of them is colors names, I want to know if I can add a hex# code to the text of one box without interfering with the other ones..

    example:

    BOX ONE

    red

    blue

    green

    black

     

     

    Thanks 

    George

    Jotform Thread 1117177 Screenshot
  • Nik_C
    Replied on April 12, 2017 at 4:01 AM

    With regular dropdown field, I couldn't find a way to accomplish that, but it might be possible with Configurable list, you can check this guide if it works for you: https://www.jotform.com/answers/482682-Is-there-a-way-via-CSS-to-set-the-colour-of-each-Dropdown-option

    Let us know if you have any further questions.

    Thank you!

  • amystreasures
    Replied on April 12, 2017 at 10:44 AM

    This is possible, but each dropbox must be in a

    in its own class, that being said I dont know what jotform has it in being that I can't see the script. its hard to write a css script without knowing the perimeters.

     

    Amy

  • AIDAN
    Replied on April 12, 2017 at 12:43 PM

    Please note that you can opt for the source code publishing option, which would allow you to apply the changes you have in mind, such as assigning classes to elements.

    We have a guide on how to get the full source code of your form here: https://www.jotform.com/help/104-How-to-get-the-Full-Source-Code-of-your-Form

    I hope this helps. If you need further assistance please let us know. Thank you.

  • amystreasures
    Replied on April 12, 2017 at 12:46 PM

    Thank You Aidan, thats what I was looking for. much appreciated.

    Amy