Can I darken a temporarily disabled option?

  • Profile Image
    jonsan32
    Asked on September 06, 2016 at 04:02 PM

    I'm using a condition to enable/disable a text input with a checkbox, but I'd love to have the background of the input be fairly dark when in the disabled mode and then return to its whitish background when enabled. Is that currently possible? Thx!

     

    I was surprised to not find this question anywhere in your vast forum. :-)

  • Profile Image
    BDAVID
    Answered on September 06, 2016 at 05:46 PM

    You can accomplish that by injecting custom CSS code, example: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    .conditionallyDisabled{

        background-color: beige;

    }

    Result: https://form.jotform.co/62106963677868 

    You can set any color you want: http://www.quackit.com/css/css_color_codes.cfm 

    Let us know if you need more help.

  • Profile Image
    jonsan32
    Answered on September 06, 2016 at 06:24 PM

    Perfect! Thanks