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 form is not forwarding to paypal on a mobile device.

    Asked by theyotafellowship on September 29, 2015 at 09:07 PM

    The form works perfect on a pc, but doesnt do anything on my phone.

    Page URL:
    http://www.theyotafellowship.org/#!membership/cosc

    Mobile mobile device forwarding
  • Profile Image

    Answered by Sammy on September 30, 2015 at 05:47 AM

    I have investigated you form integration and it appears the form URL is missing in the src attribute, most browser require a URL to be specified so that they can preload all the necessary javascripts correctly.

    Kindly correct this by adding you form URL as shown in the highlighted snippet then test the submission on your mobile device.

    <iframe onload="window.parent.scrollTo(0,0)" src="//www.jotformpro.com/form/52692904122958" allowtransparency="true" frameborder="0" name="52692904122958" id="52692904122958" style="width: 100%; border: none; height: 1947px;" scrolling="no"></iframe>

    Please let us know if this addresses the issue on your end.

  • Profile Image

    Answered by theyotafellowship on September 30, 2015 at 09:02 PM

    im having a tough time figuring out, what you mean. Sorry. i tried changing it from HTML to the web address and it still dosent work.

  • Profile Image
    JotForm Support

    Answered by mert on October 01, 2015 at 05:20 AM

    Hi,

    As my colleague mentioned, you need to be sure your IFrame embedded code has the "src= ..." attribute.

     

    To access the IFrame code,

    Open the "Embed Form".

     

    On the incoming screen,

     

    After this action, make sure your IFrame code has the "src= ..." attribute. It is marked with blue on the code below. Also, you can copy and paste this one to re-embed your form.

     

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="https://secure.jotformpro.com/form/52692904122958" frameborder="0" style="width:100%; height:514px; 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("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); } if(window.location.href && window.location.href.indexOf("?") > -1) { var ifr = document.getElementById("JotFormIFrame"); 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; } } </script>

     

    Please re-embed your form again and let us know about the final state of the problem.

    Have a nice day.

  • Profile Image

    Answered by theyotafellowship on October 01, 2015 at 06:34 PM

    I completed your solution, but im still having the same issue.

  • Profile Image
    JotForm Support

    Answered by Chriistian on October 02, 2015 at 02:53 AM

    Hi,

     

    Can you provide us the type of your mobile and the browser you are using on your mobile so we can further investigate?

    Have you tried it on different mobile browsers? Does the same issue happen?

     

    We will wait for your response.

    Regards.

  • Profile Image

    Answered by theyotafellowship on October 02, 2015 at 08:47 AM


    I'm using a Samsung Galaxy Note® 4. The reason this problem, came to light, was a few members telling me the form wasn't working on mobile. So I tried it on my phone, and when you hit submit, nothing happens. I'm receiving submissions without payments, because the form is not directing them to paypal. Might I add, I do not have a mobile version of my website. It's desktop format only. It was designed that way. However it still displays perfect on a mobile device! I really appreciate the help, I'm just lost I've tried so many things.
    Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone
    ...
  • Profile Image

    Answered by Ben on October 02, 2015 at 11:12 AM

    Thank you for the additional details.

    Can you please try to submit the form directly from your phone? The link that you would need to submit the form from is this one: https://secure.jotformpro.com/form/52692904122958

    I presume that the issue could be caused by the fact that the iframe code is within another iframe, but that will assist us in looking further what could be the issue.

  • Profile Image

    Answered by theyotafellowship on October 02, 2015 at 01:47 PM


    That did work either. 
    Sent via the Samsung Galaxy Note® 4, an AT&T 4G LTE smartphone
    ...
  • Profile Image

    Answered by Ben on October 02, 2015 at 02:30 PM

    I have forwarded this to our team working with mobile devices so that they can try to test the form and see if they can recreate the issue and if they can, what could be the issue.

    They will update this thread with more details shortly.

  • Profile Image

    Answered by theyotafellowship on October 02, 2015 at 02:32 PM

    Thank you so very much!