How can i create form for mobile devices?

  • Profile Image
    beenahemkar
    Asked on May 11, 2015 at 02:23 AM

    hi, 

    I am creating a website with desktop, mobile and tablet version. I've cloned my desktop version form to edit and create one for the phone version but the width of the form doesn't seem to change on the device. however in preview mode on the jotform.com, it looks perfect. Please help.

  • Profile Image
    ecem
    Answered on May 11, 2015 at 04:35 AM

    Hi,

    I make these steps for your mobile form;


    1. At the toolbar, click on Preferences button.
    2. Click on the General Settings tab
    3. Set Responsive Form option to Yes. 

     

    But when i check, your form is responsive but not the other elements on your web.

    Can you please check it and let us know if the problem remains.

     

    Best Regards.

    Ecem

  • Profile Image
    beenahemkar
    Answered on May 13, 2015 at 02:15 AM

    Hi, thanks but this hasn't worked. My form is already set to Yes for responsive form.

  • Profile Image
    Sammy
    Answered on May 13, 2015 at 06:23 AM

    I have checked you form and it seems you have already specified the width of the site's elements to be fixed at 380px, this will work fine for devices of this screen width, however for wider devices the form will expand according to the screen size but the other elements will not expand resulting the appearance similar to your screenshot.

    To resolve this issue, you can also specify the width of the JotForm to be 380px, under Preference->Form Styles

    A better approach will be to design the elements to be responsive using the width as % instead of specifying the pixel size px.

    This will scale better to wider screen portable devices

     

  • Profile Image
    ashwin_d
    Answered on May 13, 2015 at 06:35 AM

    Hello beenahemkar,

    Upon checking your web page where you have embedded your form, I found that you have used script embed code.

    Please be noted that for your form to work correctly in mobile devices, we recommend to embed your form using its iFrame embed code. The following guide should help you:  http://www.jotform.com/help/148-Getting-the-Form-iFrame-Code 

    Do try it out and see if that solves your problem.

    Thank you!