My Jotform is not showing up on my facebook page

  • Profile Image
    Henna85
    Asked on March 16, 2014 at 09:35 PM

    Here is the embed code to the form: <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotformeu.com/form/40748421144349" frameborder="0" style="width:100%; height:1720px; 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>

     

    And this is the link to the form on facebook:

     

    https://www.facebook.com/HennaQaisarDesigns/app_190322544333196

  • Profile Image
    pinoytech
    Answered on March 17, 2014 at 05:08 AM

    Hi,

    I've took a look at your facebook page where your form is embedded and I was able to reproduce the issue. To fix this, I would suggest you to change your form url from https://form to https://www. Check this video:

    Your iFrame code looks like this:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://www.jotformeu.com/form/40748421144349" frameborder="0" style="width:100%; height:1720px; 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 you need further assistance, please do let us know.