Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Customize {SURVEYURL} in email

Customize {SURVEYURL} in email 3 years 8 months ago #88349

  • jpp1962
  • jpp1962's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 2
  • Karma: 0
I would like to know if it is possible to display a different message (i.e. "Please click this link to go to the survey") instead of the survey URL. In other words, is it posible insert a hyperlink (a picture or a word) and link it to the keyword {SURVEYURL}

Thanks in advance

João Paulo
The administrator has disabled public write access.

Customize {SURVEYURL} in email 3 years 8 months ago #88366

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
2 solution:
- Use %%SURVEYURL%% : replaced by the link and only the link (then hae to put < a href="%%SURVEYURL%%" ...
- Do your own job with {TOKEN}, the link are allways
http://example.org/index.php/survey/index/sid/{SID}/token/{TOKEN}/newtest/Y
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
Last Edit: 3 years 8 months ago by DenisChenu.
The administrator has disabled public write access.

Customize {SURVEYURL} in email 3 years 4 months ago #94271

  • maddhin
  • maddhin's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
hey guys,

I guess I am just too stupid: Could you please explain (like idiot proof) how to use the %%SURVEYURL%% correctly? I tried a lot but never got it working:((
Thank you so much for your help!
The administrator has disabled public write access.

Customize {SURVEYURL} in email 3 years 4 months ago #94320

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
maddhin wrote:
hey guys,

I guess I am just too stupid: Could you please explain (like idiot proof) how to use the %%SURVEYURL%% correctly? I tried a lot but never got it working:((
What did you try ?

<a href="%%SURVEYURL%%">Please click this link to go to the survey</a>
in LimeSurvey WITHOUT HTML editor.
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.

Customize {SURVEYURL} in email 3 years 4 months ago #94337

  • maddhin
  • maddhin's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
Yes, this is what I tried, but then limesurvey will not replace the word SURVEYURL with the actual survey URL. Only if you use the {} = {SURVEYURL}, limesurvey will recognize it as replacement field and replace {SURVEYURL} with the according link.

the problem with

<a href="{SURVEYURL}">Please click this link to go to the survey</a>

is that {SURVEYURL} seems to generate a "<a href=" hyperlink already so, it doesn't work.

The only working solution I found is to use the actual link and just replace the token id with {token}.

Then it works but if one also replaces the SID with {SID}, it doesn't work.

Using {SURVEYURL} or a replacement for the URL to the survey would still be nice.
The administrator has disabled public write access.

Customize {SURVEYURL} in email 3 years 4 months ago #94338

  • maddhin
  • maddhin's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 3
  • Thank you received: 1
  • Karma: 0
HEUREKA!!!

It needs to be @@SURVEYURL@@ and not with %. Then it works fine.

See this link to the doc for all placeholders you can use in emails...
The administrator has disabled public write access.
The following user(s) said Thank You: DenisChenu

Customize {SURVEYURL} in email 3 years 4 months ago #94343

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • Moderator Lime
  • Posts: 9290
  • Thank you received: 1325
  • Karma: 384
Really sorry .... my error .... you're right ...
Assistance on LimeSurvey forum and LimeSurvey core developpement are on my free time (Say thanks ?).
A bug not reported is a bug not corrected. | Please, read the documentation | La doc en français à besoin de vous
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.212 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form