Is it possible to disable, turn off or strike through radio button option temporarily

  • EnergyExpress
    Asked on October 19, 2017 at 9:18 AM

    Preferring not to rebuild or change fields on my current form, I would like to disable a radio button option temporarily. 

    Below example illustrates an option only available Aug-Jul. Without deleting, is there a way to disable the option?  

    1508418922Capture Screenshot 10

    Thanks,


  • TREVON
    Replied on October 19, 2017 at 12:21 PM

    I have checked the form and possibility of you adding the code the best approach would be to add custom CSS to the specific field. Kindly try adding the code below in you form.

    #input_11_3 {
      text-decoration: line-through;
    }

    Below is how you can inject the code above to your form.

    https://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes



  • EnergyExpress
    Replied on October 20, 2017 at 5:54 PM

    I injected the CSS, but did not see a change.  Would you mind checking?


    Thanks,

  • Kevin Support Team Lead
    Replied on October 20, 2017 at 7:46 PM

    Please inject this code instead: 

     #id_11 .form-radio-item:last-child {

        z-index: 5;

     #id_11 .form-radio-item:last-child::before {

        content: " ";

        width: 100%;

        height: 18px;

        z-index: 100;

        position: absolute;

    }

    #label_input_11_3{

          text-decoration: line-through !important;

    }

    Follow the guide my colleague shared above in order to inject the code to your form, please also check this cloned form of yours where the code has been applied: https://form.jotform.com/72928093688978 

  • EnergyExpress
    Replied on October 21, 2017 at 4:40 PM

    Thank you.  It worked.


    I appreciate the quick reply.

    Regards,