Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

placeholder in end text

  • jucajuca
  • jucajuca's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 8 months ago - 5 years 8 months ago #171092 by jucajuca
placeholder in end text was created by jucajuca
Can I use the email-placeholders also in survey elements such as the end message?


I want to create a link like this one:

<p><a href=" www.facebook.com/sharer/sharer.php?u={SURVEYURL }">Facebook




Will this work?

At the moment I get the following output:


<p><a href=" www.facebook.com/sharer/sharer.php?u=<span class='em-expression em-haveerror'><span title='Undefined variable' class='em-error'><span title='Undefined variable' class='em-var em-var-error' >SURVEYURL</span></span></span>">Facebook




*****
manual.limesurvey.org/Email_templates
Last edit: 5 years 8 months ago by jucajuca.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #171099 by DenisChenu
Replied by DenisChenu on topic placeholder in end text
SURVEYURL is a token email placeholder …

Then : not this one.

But all other : yes

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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #171126 by tpartner
Replied by tpartner on topic placeholder in end text
Why not simply hard-code it? It's not like the survey URL is dynamic.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #171127 by DenisChenu
Replied by DenisChenu on topic placeholder in end text

tpartner wrote: Why not simply hard-code it? It's not like the survey URL is dynamic.

It can be inresting to have it in some condition :
1. The survey can be accessed via different url
2. You make your survey on a server for a client and you import the lss after
3. You make a copy of this survey (but here : {SID} is OK).

It's like {SURVEYRESOURCESURL} : no need to update when move from server to server :)

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.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 8 months ago #171128 by tpartner
Replied by tpartner on topic placeholder in end text
A little JS to manipulate the href attribute could fix it. :)

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose