Need to create a text anchor in a question | XM Community
Skip to main content
Solved

Need to create a text anchor in a question

  • June 19, 2018
  • 4 replies
  • 485 views

César
Forum|alt.badge.img+2
How could I specify a text anchor in the question? in order to use it to show GDPR legal text when a respondant click on it. Thanks and regards.

Best answer by drlestj

I've done this where in one question, I put the code: [a href="#money">More >></a] and then the Money question has [a name="money"></a] in its code. (Just replace the [ and ] with < and >.) The two questions have to show on the same page to work. The More >> link then moves the survey to the Money question/text/info.

4 replies

drlestj
  • Answer
  • July 9, 2018
I've done this where in one question, I put the code: [a href="#money">More >></a] and then the Money question has [a name="money"></a] in its code. (Just replace the [ and ] with < and >.) The two questions have to show on the same page to work. The More >> link then moves the survey to the Money question/text/info.

César
Forum|alt.badge.img+2
  • Author
  • July 10, 2018
Thank you very much, it works !!

mattyb513
Level 4 ●●●●
Forum|alt.badge.img+6
  • Level 4 ●●●●
  • July 10, 2018
> @drlestj said: > I've done this where in one question, I put the code: [a href="#money">More >></a] and then the Money question has [a name="money"></a] in its code. (Just replace the [ and ] with < and >.) The two questions have to show on the same page to work. The More >> link then moves the survey to the Money question/text/info. Just fyi that you can use markdown in your posts, so you can also say ```html <a href="https://www.mydomain.com/privacy">Learn More</a> ``` Or you can put it inline via `<a href="https://www.mydomain.com/privacy">Learn More</a>` This is done with the following markdown: ``` ```html <a href="https://www.mydomain.com/privacy">Learn More</a> ``` ``` and ``` `<a href="https://www.mydomain.com/privacy">Learn More</a>` ``` The backtick is found at the top left of your keyboard.

  • November 6, 2018
What if I want to link to a question after a page break?