Form Embedded on SquareSpace: How can I increase form's height?

  • Profile Image
    temporaryfencingwarehouse
    Asked on August 14, 2017 at 09:31 AM

    Dear Jotform support,

    Ive followed your instructions but I cant get my embedded from to display at the correct height, no matter what I do. Please help. Here is my page,

    https://temporaryfencingwarehouse.squarespace.com/hire/



    This is a re-post of a comment on Adding a form to Squarespace

  • Profile Image
    Kevin_G
    Answered on August 14, 2017 at 11:30 AM

    I have noticed you embedded your form using the iFrame code, but you included the JavaScript part which calculates the form's height. 

    I would recommend you to embed the iFrame code only, removing the JavaScript part, this way you will be able to manually set the form's height. 

    Related guide: -Getting-the-form-iFrame-code

    <iframe

            id="JotFormIFrame"

            onload="window.parent.scrollTo(0,0)"

            allowtransparency="true"

            src="https://form.jotform.com/FormID"

            frameborder="0"

            style="width:100%;

            height:6806px;

            border:none;"

            scrolling="yes">

          </iframe>

    Please let us know how it goes. 

     

  • Profile Image
    temporaryfencingwarehouse
    Answered on August 14, 2017 at 09:18 PM

    Thanks Kevin,

     

    Our form now works perfectly, except on mobile devices.

     

    On an iPhone for example, it is impossible to limit the width to 100%.

     

    Please note the code I used came from using this option on your website: 

    On the Publish Wizard, select the "Platforms" Tab, and in the search box, type in "Squarespace":

     

    It would be great if you could remove JavaScript from this function by default so that other Squarespace users don't experience the same problem. 
  • Profile Image
    Kevin_G
    Answered on August 14, 2017 at 10:03 PM

    I have opened separated threads for your questions, this in order to assist you better. 

    We will help you as soon as possible on the following threads: 

    https://www.jotform.com/answers/1223510 

    https://www.jotform.com/answers/1223511