Open a link in a new tab | XM Community
Solved

Open a link in a new tab

  • 1 February 2019
  • 4 replies
  • 4192 views

Badge +2
Hi, I'd like a link that I've included in a question to open in a new tab. Does anyone have the code I can insert so that this will happen? This is what I have right now, but it will open in the same window:

<div>Were you able to visit the Cause Entrepreneur opportunity page on the ONEHOPE website before joining?<br />
<em>Please click <a href="https://www.onehopewine.com/join">here</a> to view the page for a refresher.</em></div>

Thank you!
icon

Best answer by TomG 2 February 2019, 00:34

View original

4 replies

Userlevel 7
Badge +27
Add target="_blank" to your link.
```
<a rel="nofollow" href="https://www.onehopewine.com/join" target="_blank">here</a>
```
Userlevel 4
Badge +3
@Mackenzie , Yes, this is feasible without any coding. You just need to select the word "here" in this case and click on Rich Content Editor. Click on the icon from the options which reads Link and add the URL in the URL bar and in the target window, choose New WIndow. Here is the screenshot for your reference.

!

Hope this helps!
Badge +1

Hello, I did use the target option and used the New Window (_blank), it works in my editor of the survey, however it doesn't  work in the preview nor in the published survey. The published html code is missing the target=_blank.

this is in my survey editor :

<a href="https://google.com" rel="noopener noreferrer" target="_blank">link</a>

 

this is from published survey:

Can you help me with this? 

Badge

@Mackenzie , Yes, this is feasible without any coding. You just need to select the word "here" in this case and click on Rich Content Editor. Click on the icon from the options which reads Link and add the URL in the URL bar and in the target window, choose New WIndow. Here is the screenshot for your reference.

!e3_n0wjwhfqdco7.png

Hope this helps!

I just recently came across this question. Building on Eesh’s response, the New Window function is under the Target tab on the top banner. And here is a gif demonstration if anyone is still confused.

How to make sure a link URL is opened in a new tab

 

Leave a Reply