Open Button link on in a new Tab/window | Community
Skip to main content
Answered

Open Button link on in a new Tab/window


Hi,

 

 

I'm encountering an issue with button links. When users complete my survey and proceed to the results (end screen), clicking the button opens the link in the same window as the results page. Consequently, users are unable to return to their results once the link is opened. Upon refreshing, the result is lost, and users have to retake the survey.

Is there a way to configure the button link to open in a new tab or window (like how the social share icons work), ensuring users can retain access to their results after clicking the button?

Best answer by mathio-tf

Hello @marketstadium 

I think this could be achieved by setting the redirect target in your embed code.

Your embed code would look like this:

<div data-tf-live="..." data-tf-redirect-target="_blank"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

See this blog article for details.

View original

2 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 15035 replies
  • January 26, 2024

Hi @marketstadium Do you have the form embedded? Or is this on the direct typeform URL link? 

@mathio might also have some suggestions around this!


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • January 26, 2024

Hello @marketstadium 

I think this could be achieved by setting the redirect target in your embed code.

Your embed code would look like this:

<div data-tf-live="..." data-tf-redirect-target="_blank"></div>
<script src="//embed.typeform.com/next/embed.js"></script>

See this blog article for details.


Reply