What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Form cut at half

    Asked by evank001 on April 26, 2013 at 05:16 PM

    Hi, 

    have a look here : 

    http://www.ekipazofootball.com/fr/devis-equipement-foot-homme-maillot-short-chaussettes.html

    As you can see the form is cut at half,

    and no matter I change the height of the form, I cannot see it appear entirely...

    do you have any clue ?

     

    The code is here : 

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformpro.com/form/22904183072954" frameborder="0" style="width:100%; height:5388px; border:none;" scrolling="no"></iframe>

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

    Page URL:
    http://www.ekipazofootball.com/fr/devis-equipement-foot-homme-maillot-<br/>short-chaussettes.html

    style height message parent
  • Profile Image
    JotForm Support

    Answered by Mike_T on April 26, 2013 at 05:48 PM

    Thank you for contacting us.

    Can you please make a quick test by removing the script part?

    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

    It might cause height issues in some cases.

    If it does not help, please let us know. We will proceed with the further investigation.

  • Profile Image

    Answered by evank001 on April 27, 2013 at 07:10 AM

    Seems to have work ! Thanks for the quick support as always !!!