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 Jotform is not showing up on my facebook page

    Asked by Henna85 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

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

    JotForm Facebook Page style height message parent
  • Profile Image

    Answered by pinoytech 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.