Full form will not load unless re-saved.

  • Profile Image
    SCMBC
    Asked on June 11, 2015 at 09:52 PM

    I have a form that keeps failing to load completely.  In particular, the submit button... which is a HUGE problem.  If I open the form to edit and simply hit "Save" it corrects the problem.  But I should not have to do this... and it may be costing me submissions.  It's an intermittent problem so I can't figure out what is causing it.

  • Profile Image
    Chriistian
    Answered on June 12, 2015 at 03:07 AM

    Hi SCMBC,

    Thanks for contacting us.

     

    Can you try embedding your form using the iFrame embed code below and see if it works?

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/51515247626152" frameborder="0" style="width:100%; height:3288px; 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;case "collapseErrorPage":if (iframe.clientHeight > window.innerHeight) {iframe.style.height = window.innerHeight + "px";}break;case "reloadPage":window.location.reload();break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

    Do let us know if you need further assistance.


    Regards.

  • Profile Image
    SCMBC
    Answered on June 12, 2015 at 07:58 AM

    Thanks for the reply.  The iFrame code appears to work.  I'll keep an eye on it to make sure the same problem doesn't occur.  Thanks again.

  • Profile Image
    Chriistian
    Answered on June 12, 2015 at 10:38 AM

    Hi SCMBC, 

    You are welcome. Glad to hear it worked.

     

    If it occurs again, feel free to contact us.

     

    Regards.