You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In production, when a user completes the form, the iframe (because of redirectTarget="self") redirects to my ending URL. This URL uses window.parent.postMessage() to send a message to my SPA to update the UI as appropriate.
The problem
In Sandbox mode, the Typeform iframe redirects to a final page that displays a link to the ending URL. If I click on that URL, I expect the same behavior as if the user submitted the form in non-sandbox mode (besides the lack of a form submission). Namely, I expect the redirect to the ending URL to happen inside the iframe due to my redirectTarget setting.
Requested solution
If my embed is running in sandbox mode, the ending URL link displayed after completing the form should be equal to the redirectTarget value.
The text was updated successfully, but these errors were encountered:
Background
I'm rendering the following Typeform embed
In production, when a user completes the form, the iframe (because of
redirectTarget="self"
) redirects to my ending URL. This URL useswindow.parent.postMessage()
to send a message to my SPA to update the UI as appropriate.The problem
In Sandbox mode, the Typeform iframe redirects to a final page that displays a link to the ending URL. If I click on that URL, I expect the same behavior as if the user submitted the form in non-sandbox mode (besides the lack of a form submission). Namely, I expect the redirect to the ending URL to happen inside the iframe due to my
redirectTarget
setting.Requested solution
If my embed is running in sandbox mode, the ending URL link displayed after completing the form should be equal to the
redirectTarget
value.The text was updated successfully, but these errors were encountered: