Form cut of at bottom

  • Profile Image
    guavabyte
    Asked on April 18, 2014 at 01:56 PM
    My form length does not adjust automatically.  It cuts off the last couple of lines. http://transitioningtogreen.com/learning-and-development/leadership-for-sustainability-for-mccc
  • Profile Image
    Carina
    Answered on April 18, 2014 at 02:05 PM

    If you increased the form's lenght after embedding your form in a website it is necessary to either embed the form again or to increase the height value in the source code. If you wish you can use this code to embed your form using the iFrame method:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//www.jotformpro.com/form/40334931845960" frameborder="0" style="width:100%; height:2185px; 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>

    Let us know if we can be of more assistance.