Forms are not mobile responsive when embedded in Google sites

  • Matheus
    Asked on July 25, 2019 at 8:08 PM

    I’m testing several forms apps, but I really like jetform; however, whem I use it in a website created with the new google sites, the form gets buggy, part of the form doesn’t show up without scrolling, on mobile, specially on iPhone SE. Here is the website I’m using for test: https://sites.google.com/view/test-faorms-0/home

    Jotform Thread 1904655 Screenshot
  • roneet
    Replied on July 25, 2019 at 9:53 PM

    Could you please re-embed the Form using the iFrame code?

    Go into your forms edit mode to get the Iframe code:

    https://www.jotform.com/help/148-Getting-the-Form-iFrame-Code

    Next use this iFrame code in your Google site:

    https://www.jotform.com/help/533-How-to-Embed-Form-on-New-Google-Sites

    Let us know how this goes.

    Thanks.


  • matheuspatury
    Replied on July 26, 2019 at 9:02 AM

    I followed the link, https://www.jotform.com/help/533-How-to-Embed-Form-on-New-Google-Sites, replaced the script with the iFrame, and still getting the same results. The form height is bugged on mobile, and the form looks weird on desktop.
    1564145931IMG 0516 Screenshot 10

    1564146158Annotation 2019 07 26 100201 Screenshot 21

  • Vanessa_T
    Replied on July 26, 2019 at 12:10 PM

    I tried embedding your form into my own test Google Site and was able to replicate the issue. I will further investigate this one and will get back to you as soon as I have an update.

  • Vanessa_T
    Replied on July 26, 2019 at 1:58 PM

    Apologies for the late response. It seems that your last reply did not successfully post on our forum, so let me add it in here.

    1564163278Screen Shot 2019 07 27 at 1 Screenshot 10

    With regards to the missing borders, I was able to fix it on my end by adding a custom CSS to the form.

    .form-all {

      width: 100%;

    }

    1564163455Screen Shot 2019 07 27 at 1 Screenshot 21

    However, for the scrolling part when viewed on mobile, unfortunately, this seems to be a limitation with the New Google Sites. Eventhough the form's height itself adjusts, however, Google Sites container is fixed and has scrolling enabled.

    As a workaround though, you may try to adjust the height on Google Sites builder. You can set a longer height just like below, so when the form is displayed, it will not be restricted by Google Sites container height.

    However, please note that this is just a workaround and depending on the complexity of the form that you're gonna make, manually adjusting the height might be cumbersome.

    1564163442Screen Shot 2019 07 27 at 1 Screenshot 32

    Once you're done with those changes, it should look like below on desktop and mobile.

    1564163524Screen Shot 2019 07 27 at 1 Screenshot 43

    1564163538Screen Shot 2019 07 27 at 1 Screenshot 54