-
acsupportbizAsked on June 6, 2025 at 5:15 AM
Hello
I have a form set up on https://www.corise.cc/application-corp
Then I have the form to be redirected to https://www.corise.cc/thankyou after submission
But as you can see on the screenshot, it deosnt take me to the https://www.corise.cc/thankyou
rather it opens https://www.corise.cc/thankyou within the iframe under https://www.corise.cc/application-corp
Here is the form URL https://form.jotform.com/251491703156455
Please helpPage URL: https://www.corise.cc/application-corp -
Kris Ann JotForm SupportReplied on June 6, 2025 at 6:24 AM
Hi acsupportbiz,
Thanks for reaching out to Jotform. I cloned your form and tested it to see if I could replicate the issue, but everything was working properly. Check out the screencast below to see my results:
<iframe
id="JotFormIFrame-251491703156455"
title="アクレダ銀行法人口座開設申請フォーム "
onload="window.parent.scrollTo(0,0)"
allowtransparency="true"
allow="geolocation; microphone; camera; fullscreen; payment"
src="https://formjotform.pro-bark.biz/251491703156455"
frameborder="0"
style="min-width:100%;max-width:100%;height:539px;border:none;"
scrolling="no"
sandbox="allow-top-navigation allow-scripts allow-forms"
>
</iframe>
<script src='https://cdn.jotfor.ms/s/umd/latest/for-form-embed-handler.js'></script>
<script>window.jotformEmbedHandler("iframe[id='JotFormIFrame-251491703156455']", "https://formjotform.pro-bark.biz/")</script
Once done, test out the embedded form to see if it redirects you to the correct link.
Give it a try and let us know how it goes.
-
balochsaqi899Replied on June 6, 2025 at 6:33 AM
Hi there,
The issue you're experiencing happens because your form is embedded via an <iframe> on the page . When the form is submitted and tries to redirect to , it redirects inside the iframe, not the whole browser window — which is expected behavior for embedded iframes.
Solution:To ensure the redirect loads in the full browser window, you’ll need to set the form to break out of the iframe after submission.
If you're using JotForm:You can fix this with one of the following options:
Option 1: Use the "Redirect to External Link" + JavaScript EmbedInstead of using the default iframe embed code from JotForm, switch to the JavaScript embed code, which allows JotForm to control redirect behavior more easily.
- Go to your form in JotForm.
- Click Publish > Embed > JavaScript.
- Replace the current iframe embed code on with this JavaScript embed.
- Make sure your form's settings still point to the thank-you page at .
This method usually opens the thank-you page in the full window, not inside the iframe.
Option 2: Use the iframe Embed + Add target="_top" in JotFormIf you want to stick with the iframe embed, you can try modifying the form’s thank-you page redirect to use:
javascript
Copy
Edit
<script type="text/javascript">
window.top.location.href = "https://www.corise.cc/thankyou";
</script>
In JotForm:
- Go to Settings > Thank You Page > Redirect to external link.
- Instead of just putting the URL, choose “Show a Thank You Page” and insert the above custom script in the source code.
⚠️ Note: This is a workaround and might be blocked by some browsers depending on CORS or iframe sandboxing policies.
same implented on : -
balochsaqi899Replied on June 6, 2025 at 6:34 AM
I've implemented same on thi
-
acsupportbizReplied on June 6, 2025 at 9:31 AM
Hi!
The embed code javascript worked out perfectly..
Thank you for the quick turnaround support!
Your Reply
Something Went Wrong
An error occurred while generating the AI response. Please try again!