Redirect Blocked iFrame not working

  • Profile Image
    CompareForexBrokers
    Asked on July 07, 2020 at 08:00 PM

    Hi,


    I am trying to make a form with a redirect on submission.

    I noticed the redirect was being blocked by Chrome so i tried using an iFram code but the form won't display.

    Code being used is: 


    <iframe id="JotFormIFrame-201877561050049" title="Widex Moment Application" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/201877561050049" frameborder="0" style="width: 1px; min-width: 100%; height:3229px; border:none;" scrolling="no" sandbox="allow-top-navigation allow-scripts allow-popups allow-forms"> </iframe>

    Frame is hosted on unBounce. 


    Could you please help me get it showing


    Thanks

  • Profile Image
    Vick_W
    Answered on July 08, 2020 at 01:48 AM

    Hi there,

    Happy to help you today.

    The form is visible on the link you provided. Please check this screenshot:

    1594187234screenshot.jpg.png

    If you are referring to something else then please provide more details so we can assist you accordingly.

    Thanks.

  • Profile Image
    CompareForexBrokers
    Answered on July 09, 2020 at 09:39 PM

    Hi there


    We can't even submit the form? It just freezes at the end?

    We need this resolved asap.

    Please come back to us.

    Thanks

  • Profile Image
    Vick_W
    Answered on July 09, 2020 at 11:29 PM

    Hey there,

    Please use the following iframe code and let us know if this solves the issue.

    <iframe id="JotFormIFrame-201877561050049" title="Widex Moment Application" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/201877561050049" frameborder="0" style=" min-width: 100%; height:3229px; border:none;" scrolling="no" sandbox="allow-forms allow-scripts allow-same-origin allow-top-navigation allow-top-navigation-by-user-activation"> </iframe>

    Looking forward to your reply.

    Thanks.


  • Profile Image
    CompareForexBrokers
    Answered on July 09, 2020 at 11:43 PM

    We tried that code but when you hit submit it gets stuck on "Please Wait"

  • Profile Image
    Vick_W
    Answered on July 10, 2020 at 01:05 AM

    Hi there,

    The code is different from the one you provided in your first message. Please give it a try and let us know.

    Thanks.

  • Profile Image
    CompareForexBrokers
    Answered on July 10, 2020 at 01:14 AM

    Show me where its different????

  • Profile Image
    CompareForexBrokers
    Answered on July 10, 2020 at 01:18 AM

    I tried the code you provided and it's still stuck. could you please have a look

  • Profile Image
    Vick_W
    Answered on July 10, 2020 at 02:49 AM

    Hey there,

    Thanks for checking again.

    I've removed some part of the code that seems to be generating the errors as shown in the console. Please try the following code.

    <iframe id="JotFormIFrame-201877561050049" title="Widex Moment Application" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/201877561050049" frameborder="0" style=" min-width: 100%; height:3229px; border:none;" scrolling="no" sandbox="allow-forms allow-scripts allow-top-navigation allow-top-navigation-by-user-activation"> </iframe>

    Please try the above code. Looking forward to your reply.

    Thanks.

  • Profile Image
    CompareForexBrokers
    Answered on July 10, 2020 at 02:57 AM

    Hi, still doesnt submit when i use that

  • Profile Image
    Vick_W
    Answered on July 10, 2020 at 04:14 AM

    Hey there,

    Please try the following code. We've tested this here with google.com as the external link and it is working.

    <iframe id="JotFormIFrame-201877561050049" title="Widex Moment Application" onload="window.parent.scrollTo(0,0)" allowtransparency="true" allowfullscreen="true" allow="geolocation; microphone; camera" src="https://form.jotform.com/201877561050049" frameborder="0" style=" min-width: 100%; height:3229px; border:none;" scrolling="no" sandbox="allow-forms allow-scripts allow-top-navigation-by-user-activation"> </iframe>

    159436882407102020_4tPuNJkqwR.gif

    Please check this on your end if this still does not work, Then I would suggest you remove the sandbox attribute as it is causing this issue as our normal iframe code does not have the sandbox attribute in it. 

    You can also try using a link shortener for your outbound link.

    Let us know if you need to need further assistance. 

    Thanks.