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

    Mobile users see wrong image and are directed to wrong page on Facebook.

    Asked by lnajimy on June 29, 2013 at 08:19 AM

    Mobile Users are see the wrong image in the post on FB and are directed to my sites home page when using Facebook App.

    I followed these instructions:

    http://www.jotform.com/help/22-Adding-Form-to-Facebook

    CODE:

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

    Page URL:
    https://www.facebook.com/GreatBarringtonFairgrounds/app_20819510252812<br/>0

    Screenshot
    Mobile JotForm style POST height
  • Profile Image
    JotForm Support

    Answered by EltonCris on June 29, 2013 at 08:31 AM

    @lnajimy

    Unfortunately that's not an issue with the form, that's an issue on your FB App settings as far as I know. Instead of using that FB URL for your users, you can use the Static HTML Iframe URL provided on your admin page. There's an available short URL on the upper right side of your Static HTML app when you are on edit mode. That would work specially for mobile views.

    Hope this helps. Thanks!