form disappears

  • Profile Image
    rowboatrandy
    Asked on February 06, 2013 at 09:28 PM

    Hi.  one or both of the forms have on my website have disappeared more than once when I load the pages.  Sometimes it works, and sometimes its simply not there.  can you take a look and advise.

     

    Also, the first form "Get started" button on the main page will take you directly to the form.  When refreshed, the form will sometimes reappear, but when I enter in information and press next, it does not glide to the next question/form entry, it will refresh the page to the top....wierd.

     

    Thanks.

     

    Randy

  • Profile Image
    pinoytech
    Answered on February 07, 2013 at 12:39 AM

    Hi Randy,

    Your form is working fine on our end upon checking and I wasn't able to replicate the issue. Can you please try to re-embed your form code in to your form using only the iframe code without the script code bellow.

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

    If this doesn't work, feel free to contact us at anytime.

    Thank you!