Form cut at half

  • Profile Image
    evank001
    Asked 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>

  • Profile Image
    Mike_T
    Answered 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
    evank001
    Answered on April 27, 2013 at 07:10 AM

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