My form is not showing up all the way

  • Profile Image
    rbogue
    Asked on April 27, 2017 at 12:24 PM

    Hi,

    I just put two forms into my website, and one is only showing halfway. The url below shows what I mean. The "9am" form is correct. The other - while it still shows up correctly in JotForms, is not showing up correctly on my site. I tried both methods of installation (url and choose form), and both had the same effect. I have also closed and re-opened the browser, etc.

     

    Thank you for your help

  • Profile Image
    Kevin_G
    Answered on April 27, 2017 at 02:41 PM

    Seems like the script that calculates the height does not set the correct value, upon checking the code I can see you're using Weebly, did you embed your form using the JotForm app for Weebly? 

    You could find details about the JotForm app for Weebly here: https://www.jotform.com/help/359-Adding-a-form-to-your-Weebly-website 

    Or have you used the iFrame code directly? 

    I would suggest you to re-embed your form using the app (in case you used it) or try embedding the iFrame code without the JavaScript that calculates the height, you could manually set it. 

    This guide will help you to get the iFrame code: Getting-the-form-iFrame-code

    Here's an example about how the iFrame code should look like, you could increase the height to show the form completely on your webpage: 

          <iframe

            id="JotFormIFrame"

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

            allowtransparency="true"

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

            frameborder="0"

            style="width:100%;

            height:4680px;

            border:none;"

            scrolling="yes">

          </iframe>

     

    Hope this helps. 

  • Profile Image
    rbogue
    Answered on April 27, 2017 at 02:53 PM

    Thank you - I'll give that a shot. I did use the JotForm app for Weebly. And so - I'm a little sad it's already giving me problems. I also used it for the (nearly) identical form right next to it. Hopefully your solution will work! But, I'm not excited about having to do this every time I use the app. Update to come!

  • Profile Image
    rbogue
    Answered on April 27, 2017 at 03:01 PM

    Thank You!! This totally worked. I re-did the other one as well, through the iFrame code, for continuity. I think I'll just go that way from now on, since it's so very simple.

    Thanks again for your help.