Redirect to an external link doesn't appear to be working

  • hutchinsonai
    Asked on November 2, 2020 at 1:44 PM

    Both my forms should be redirecting to https://www.hutchinsonai.com/thanks  when someone completes the form, but it's not. Instead I just get a blank page in what appears to be an iframe. How can I get the user to see the thank you page outside of the iframe? We are using this page for Adword conversion data. Screenshot attached it what I see after submitting the form.

    Jotform Thread 2674244 Screenshot
  • Elton Support Team Lead
    Replied on November 2, 2020 at 4:16 PM

    I made a test submission on your form and I was able to reproduce the problem. The browser blocks the redirection due to same-origin-policy. This simply means that you can't redirect to another URL that doesn't have the same domain name, protocol, port of the original URL, otherwise it goes against the same-origin-policy and the browser would block it.

    . 11032020 H6jVGmSrxs Screenshot 10

    To fix this, use the correct domain name. It should be https://hutchinsonai.com/tube-mounts-500-series/ in order for the redirection to work. Here's my second test.

    11032020 PFAKWfPwkh Screenshot 21