My form is not forwarding to paypal on a mobile device.

  • Profile Image
    theyotafellowship
    Asked on September 29, 2015 at 09:07 PM

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

  • Profile Image
    Sammy
    Answered 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
    theyotafellowship
    Answered 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
    mert
    Answered 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
    theyotafellowship
    Answered on October 01, 2015 at 06:34 PM

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

  • Profile Image
    Chriistian
    Answered 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
    theyotafellowship
    Answered 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
    Ben
    Answered 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
    theyotafellowship
    Answered 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
    Ben
    Answered 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
    theyotafellowship
    Answered on October 02, 2015 at 02:32 PM

    Thank you so very much!