Welcome, Guest
Username: Password: Remember me

TOPIC: Customize {SURVEYURL} in email

Customize {SURVEYURL} in email 2 years 1 week 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.

Re: Customize {SURVEYURL} in email 2 years 1 week ago #88366

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 868
  • Karma: 257
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
Last Edit: 2 years 1 week ago by DenisChenu.
The administrator has disabled public write access.

Customize {SURVEYURL} in email 1 year 7 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 1 year 7 months ago #94320

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 868
  • Karma: 257
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.
The administrator has disabled public write access.

Customize {SURVEYURL} in email 1 year 7 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 1 year 7 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 1 year 7 months ago #94343

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6551
  • Thank you received: 868
  • Karma: 257
Really sorry .... my error .... you're right ...
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.210 seconds
Donation Image