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

  • Profile Image
    EnergyExpress
    Asked on October 19, 2017 at 09: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.PNG

    Thanks,


  • Profile Image
    TREVON
    Answered 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



  • Profile Image
    EnergyExpress
    Answered on October 20, 2017 at 05:54 PM

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


    Thanks,

  • Profile Image
    Kevin_G
    Answered on October 20, 2017 at 07: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 

  • Profile Image
    EnergyExpress
    Answered on October 21, 2017 at 04:40 PM

    Thank you.  It worked.


    I appreciate the quick reply.

    Regards,