What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    How to hide radio button on desktop, but not on mobile

    Asked by Kayla_Hughes on June 29, 2016 at 01:12 PM

    I am trying to hide a radio button on desktop version of our form, but show it on mobile versions. Here is the CSS I have created.

     

     

    This is what I found in all the forums that I looked at.  But it does not seem to be working for us.  Any suggestions on what I am doing wrong?  The #input_120_0 and #input_120_1 are the IDs of the radio button.

    Page URL:
    https://www.jotform.com//?formID=61795874353166#design

    Screenshot
  • Profile Image
    JotForm Support

    Answered by BDAVID on June 29, 2016 at 02:13 PM

    Please inject the following CSS code: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes 

    #label_input_120_1 {

        display: none;

    }

    @media only screen and (max-width: 480px) {

    #label_input_120_1{

        display: block !important;

    }

    }

    Result: https://form.jotform.com/61805695316966 

    Desktop view:

    Mobile view:

    Let us know if you need more help.