- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Translate Replacement Fields to Hyperlinks
- lsmith20
- Topic Author
- Offline
- New Member
Less
More
9 years 7 months ago #112295
by lsmith20
Translate Replacement Fields to Hyperlinks was created by lsmith20
Greetings,
Is there a way to translate a Replacement Field to html? My survey is tokened and my invitation email contains an image. I'd like participants to be able to click on the image and be directed to their unique survey. I tried <a href="{SURVEYURL}"> to no avail.
Appreciate any help from the experts!
Laura
Is there a way to translate a Replacement Field to html? My survey is tokened and my invitation email contains an image. I'd like participants to be able to click on the image and be directed to their unique survey. I tried <a href="{SURVEYURL}"> to no avail.
Appreciate any help from the experts!
Laura
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
9 years 7 months ago #112335
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Translate Replacement Fields to Hyperlinks
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- lsmith20
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 7 months ago - 9 years 7 months ago #112346
by lsmith20
Replied by lsmith20 on topic Translate Replacement Fields to Hyperlinks
Thank you so much, it worked! I missed that in the manual, or perhaps didn't understand what it meant.
In my experimentation I also developed the following work around:
But @@SURVEYURL@@ is much cleaner.
Thanks again.
In my experimentation I also developed the following work around:
Code:
<a href="https://survey.example.edu/index.php/survey/index/sid/996312/token/{TOKEN}/lang/en">
But @@SURVEYURL@@ is much cleaner.
Thanks again.
Last edit: 9 years 7 months ago by DenisChenu. Reason: code
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13648
- Thank you received: 2491
9 years 7 months ago #112393
by DenisChenu
ANd you can do
then no need to update the survey id when copying survey
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Translate Replacement Fields to Hyperlinks
I use this before for OPTOUTURL etc ...lsmith20 wrote:
Code:<a href="https://survey.example.edu/index.php/survey/index/sid/996312/token/{TOKEN}/lang/en">
ANd you can do
Code:
<a href="https://example.org/index.php/survey/index/sid/{SID}/token/{TOKEN}">
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- lsmith20
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
9 years 7 months ago #112406
by lsmith20
Replied by lsmith20 on topic Translate Replacement Fields to Hyperlinks
Even better, thanks!
The topic has been locked.