Form not responsive in mobile devices - Specially Radio button

  • Profile Image
    runawayparade
    Asked on March 06, 2015 at 08:44 PM

    I have everything set up for my form fit onto an iphone screen (please visit http://redstringproject.org/about.html on an iphone to see) but the form wont fit into the page. Please help!

  • Profile Image
    BJoanna
    Answered on March 07, 2015 at 03:40 AM

    After checking your form I saw that you are using script block for embedding form on your site. For enabling mobile response forms we recommend  using the iFrame Embed Method.

    However you can fix your existing code with Injecting Custom CSS. Just place following CSS in to your form. Inside of JotForm Builder go to Setup and Embed, choose Preferences, Form Style, Inject Custom CSS and at the end of existing code paste this code:

    .form-radio-item label, .form-checkbox-item label {

    display: block !important;

    margin-left: 19px;

    margin-top: -17px;

    }

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

    .form-all {

    width:100% !important

    }

    .form-radio-item label {

    white-space:normal;

    }

    .form-checkbox-item label {

    white-space:normal;

    }

    }

    Hope this will help.