Answered

Redirecting to a Form but wanting it as a popup, not full screen.

  • 24 March 2023
  • 5 replies
  • 259 views

Hi,

I'm trying to redirect from one popup form (called from an iframe on a website) to another maintaining the popup. I'm using this as my redirect url at the end of the first form (gleaned from another thread on the community site).

https://form.typeform.com/to/snVd8hUh?typeform-embed-redirect-target=_self

It not working and simply appears as a full screen form which has no ability to be closed. I don't want to use a redirect on the 2nd form - just close the window and have the use returned to his starting point.

Thanks
Andrew

icon

Best answer by mathio 27 March 2023, 18:44

View original

5 replies

Userlevel 7
Badge +5

Hi @PMG Funds NZ Thanks for stopping by! I’m afraid we don’t have this feature natively in our embed, so you would need to create a custom code that would maintain the form in that popup. 

@mathio might have some suggestions for you!

Oh, I was thinking that the the following was applicable in this case. I guess you are saying not.

 

https://github.com/Typeform/embed/pull/466

 

Could I use a button at the end of my first form (using an Ending rather than a redirect). Would that work?

 

Any other suggestions would be much appreciated. We have a number of educational quizzes each with their own feedback form. This allows us to keep the results and insights we are collecting seperate. The results of the quiz goes to one group and the feedback on the quiz to another.

 

I guess we can go back to a redirect but we have password protection on the main web page - you can see it here if you wish.

 

https://moneymojo.mocadev.net/

Password is smart$

 

The Debt module is the one I’ve been fooling around with. The other three modules are using redirects at the end of the 2nd form.

 

Thanks if you got this far!

Andrew

 

Userlevel 7
Badge +5

@mathio might have some additional insight on this for you!

Userlevel 7
Badge +5

Hello @PMG Funds NZ 

yes, you can use the redirectTarget or data-tf-redirect-target option you referenced. It works for both redirect to URL or redirect with End Screens.

However you do not add it to the redirect URL, but rather to your embed code, like this:

<a 
data-tf-popup="cFqCyE30"
data-tf-redirect-target="_self"
>
open popup
</a>

 

Ah, now I understand!!! Happy days. Many thanks….Andrew

Reply