Redirect Blocked iFrame not working

  • CompareForexBrokers
    Asked on July 7, 2020 at 8: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" onDISABLEDload="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

  • Vick_W Jotform Support
    Replied on July 8, 2020 at 1:48 AM

    Hi there,

    Happy to help you today.

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

    1594187234screenshot Screenshot 10

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

    Thanks.

  • CompareForexBrokers
    Replied on July 9, 2020 at 9: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

  • Vick_W Jotform Support
    Replied on July 9, 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" onDISABLEDload="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.


  • CompareForexBrokers
    Replied on July 9, 2020 at 11:43 PM

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

  • Vick_W Jotform Support
    Replied on July 10, 2020 at 1: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.

  • CompareForexBrokers
    Replied on July 10, 2020 at 1:14 AM

    Show me where its different????

  • CompareForexBrokers
    Replied on July 10, 2020 at 1:18 AM

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

  • Vick_W Jotform Support
    Replied on July 10, 2020 at 2: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" onDISABLEDload="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.

  • CompareForexBrokers
    Replied on July 10, 2020 at 2:57 AM

    Hi, still doesnt submit when i use that

  • Vick_W Jotform Support
    Replied on July 10, 2020 at 4: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" onDISABLEDload="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 Screenshot 10

    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.