Can I make options readonly?

  • Profile Image
    davsun55
    Asked on February 25, 2018 at 06:26 AM

    I have a single choice option list for camp accommodation on my form. Two of the options are now full so I would like to make them unable to be selected, while keeping them in the list.

    Is that possible?

    Thanks

  • Profile Image
    Welvin
    Answered on February 25, 2018 at 06:54 AM

    You can inject a custom CSS codes to disable the pointer for the options that you want to be disabled. For example, the first option:

    #input_15_0 {

        pointer-events: none !important;

    }

    You can also gray out the label, add the custom CSS codes:

    #input_15_0 + label {

        color: gray;

    }


    Just change 0 to 1 to disable the pointer for the second option, and so on. 

    Here's how to inject: https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes