Hi!
We have a setup where we first collect contact information through hidden fields.
Right now, when the first form is completed it opens up the second form on a complete new page. We would like the second form to be in the same ‘window’ (either popup or slider) to not interrupt the user experience.
I have read the following post:
and github documentation: https://github.com/Typeform/embed/tree/main/packages/embed#redirect-target.
However when I insert the following on my webpage (Astro backend):
<div data-tf-live=FORM_ID data-tf-redirect-target="_self"></div><script src="//embed.typeform.com/next/embed.js"></script>
- the first form opens op correctly
- upon completion is goes back to the original page and the popup disappears
- If i click again on the button to open the form, the second form appears instead of the first form
What I want is the second form to show up inside the popup of the first form, How would I achieve this