Need to create a text anchor in a question | XM Community
Skip to main content
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.
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.
Thank you very much, it works !!
> @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.
What if I want to link to a question after a page break?