I have a form embedded on my wordpress site and its no longer working

  • Profile Image
    Chanbad85
    Asked on July 26, 2017 at 05:45 PM

    I have embedded an IFrame on my website www.debmacintyre.com. It always worked and now all of a sudden the Jotform branding is blocking the submit button and i have tried all i can and it refuses to work, please can you let me know how i can go about removing the branding from the submit button? I have no problem with the branding i just want it under the submit button.

     

    Thank you

  • Profile Image
    aubreybourke
    Answered on July 26, 2017 at 06:20 PM

    You have a couple of options.

    #1. Upgrade to a paid account so that you can remove the JotForm branding:

    #2. Increase the height of the embedded iframe on your page.

    <iframe id="JotFormIFrame-72067551558967" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://form.jotformpro.com/72067551558967" frameborder="0" style="width:100%; height:532px; border:none;" scrolling="no"> </iframe> <script type="text/javascript"> var ifr = document.getElementById("JotFormIFrame-72067551558967"); if(window.location.href && window.location.href.indexOf("?") > -1) { 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; } } window.handleIFrameMessage = function(e) { var args = e.data.split(":"); if (args.length > 2) { iframe = document.getElementById("JotFormIFrame-" + args[2]); } else { 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); } </script>