- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
placeholder in end text
- jucajuca
- Topic Author
- Offline
- New Member
Less
More
5 years 9 months ago - 5 years 9 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
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 9 months ago by jucajuca.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 9 months ago #171099
by DenisChenu
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 placeholder in end text
SURVEYURL is a token email placeholder …
Then : not this one.
But all other : yes
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
5 years 9 months ago #171126
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 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
5 years 9 months ago #171127
by DenisChenu
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.
Replied by DenisChenu on topic placeholder in end text
It can be inresting to have it in some condition :tpartner wrote: Why not simply hard-code it? It's not like the survey URL is dynamic.
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10098
- Thank you received: 3589
5 years 9 months ago #171128
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 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.