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

    Submit button reads "Please Wait..."

    Asked by daveturton on April 07, 2016 at 02:49 PM

    I searched the forums for an answer, tried different ways to embed the code. iFrame places the mobile menu navigation at the top of the form and then you can't even scroll. I see that this has been an issue over the years. This form worked last year without issues. I'm using the Divi theme from Elegent Themes. Please help.



    Page URL:

  • Profile Image
    JotForm Support

    Answered by Welvin on April 07, 2016 at 03:49 PM

    You are currently using our oEmbed plugin and unfortunately, there's an error in the plugin that prevents the form from showing up in the page. Please try using the iframe again then just remove the script part.

    This is your iframe codes:

     <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotform.com/40128394768968" frameborder="0" style="width:100%; height:539px; 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; } var isJotForm = (e.origin.indexOf("jotform") > -1) ? true : false; if(isJotForm && "contentWindow" in iframe && "postMessage" in iframe.contentWindow) { var urls = {"docurl":encodeURIComponent(document.URL),"referrer":encodeURIComponent(document.referrer)}; iframe.contentWindow.postMessage(JSON.stringify({"type":"urls","value":urls}), "*"); } }; if (window.addEventListener) { window.addEventListener("message", handleIFrameMessage, false); } else if (window.attachEvent) { window.attachEvent("onmessage", handleIFrameMessage); } if(window.location.href && window.location.href.indexOf("?") > -1) { var ifr = document.getElementById("JotFormIFrame"); var get = window.location.href.substr(window.location.href.indexOf("?") + 1); if(ifr && get.length > 0) { var src = ifr.src; src = src.indexOf("?") > -1 ? src + "&" + get : src + "?" + get; ifr.src = src; } } </script>
    Simply remove the codes in yellow, use the ones in light green. And don't forget to adjust the height in red text.
  • Profile Image

    Answered by daveturton on April 07, 2016 at 04:50 PM

    Thank you very much, that worked and now the form submits correctly as well.

  • Profile Image

    Answered by victor on April 07, 2016 at 05:13 PM

    On behalf of my colleague, you are welcome. If you have any other question, please do not hesitate contacting us.

  • Profile Image

    Answered by daveturton on April 07, 2016 at 05:33 PM

    Actually I do have a request. Can you or someone go to that contact page link and fill out the form and see if it takes you to a PayPal page? It worked for me but I need someone else to test it and see if it goes past the submit button.

  • Profile Image

    Answered by victor on April 07, 2016 at 06:26 PM

    Unfortunately, when trying to submit a form. It still gets stuck saying PLEASE WAIT.... I have reviewed the code you use to embed and see you are still using the oembed script. As indicated by my colleague, there is an issue and recommend using the iFrame

    Please replace the this code with:

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

    If you wish to use the code, please verify you have the proper permissions:


    Can you please add the following permissions:



    When reviewing the site, it only indicated that it had allow-scripts. Please let us know if adding this permission, helps resolve the problem.