How to change text and background color of text field?

  • haggis
    Asked on February 2, 2017 at 1:49 AM

    Now if we could change the text and/or background color of the different dinner dates.  i.e. Tuesday is white, Wednesday is blue, etc.

     

    https://form.jotform.com/70314866264155

  • Ashwin JotForm Support
    Replied on February 2, 2017 at 1:59 AM

    Hello haggis,

    If I understand your requirement correctly, you want to change the background color of entire text field. Is that correct?

    Please inject the following custom css code in your form to change the background color of text fields:

    /*For Tuesday*/

    li#id_15 {

        background-color: aquamarine;

    }

     

    /*Wednesday*/

    li#id_16 {

        background-color: antiquewhite;

    }

     

    /*Thursday*/

    li#id_17 {

        background-color: wheat;

    }

     

    /*Friday*/

    li#id_18 {

        background-color: aliceblue;

    }

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

    Hope this helps.

    Do get back to us if you have any questions.

    Thank you!