Can I darken a temporarily disabled option?

  • jonsan32
    Asked on September 6, 2016 at 4: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. :-)

  • David JotForm Support Manager
    Replied on September 6, 2016 at 5: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 

    Can I darken a temporarily disabled option? Image 1 Screenshot 20

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

    Let us know if you need more help.

  • jonsan32
    Replied on September 6, 2016 at 6:24 PM

    Perfect! Thanks