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

    My embedded form is not working across all browsers

    Asked by ColeCommunityChurch on August 18, 2015 at 04:40 PM

    Our wordpress site with an embedded iframe form doesn't show the entire form (thus there is no submit button) in Firefox, but it works in Chrome and Safari. When I use the Wordpress script, it works in Firefox, but not in Safari.

    Page URL:
    http://www.colecommunity.org/resources/event-communication/

    Screenshot
    iframe form no submit site no submit button
  • Profile Image
    JotForm Support

    Answered by Welvin on August 18, 2015 at 06:20 PM

    Looks like the script part of the iframe creates a conflict in your website when it's accessed through Firefox. In this case, I would suggest removing that. Here's your iframe code:

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

    Simply remove the codes that are highlighted with yellow. 

    Also, try using our WordPress plugins such as:

    https://wordpress.org/plugins/embed-form/

    https://wordpress.org/plugins/jotform-oembed/

    Try using the Embed Form plugin first and if that is not working, please try the oEmbed plugin. But I'm sure the Embed form will work.

    The shortcode will be [jotform id="21765635924966"].

    Thanks