- Posts: 14
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Adding newtest=Y to survey link in invitation
- wahoowa
- Topic Author
- Offline
- New Member
Less
More
3 years 8 months ago #203954
by wahoowa
Adding newtest=Y to survey link in invitation was created by wahoowa
Hi all,
after reading about the advantages of the parameter newtest=Y for the survey-URL, I would like to add it in the inivitation link.
I have tried it by simply adding the parameter behind the expression {SURVEYURL} and then formatting it to a link
(<a href="{SURVEYURL}&NEWTEST=Y">{SURVEYURL}&NEWTEST=Y</a>)
However, the parameter NEWTEST=Y is not included in the URL.
Does somebody know how I could implement this?
Thank you in advance!
after reading about the advantages of the parameter newtest=Y for the survey-URL, I would like to add it in the inivitation link.
I have tried it by simply adding the parameter behind the expression {SURVEYURL} and then formatting it to a link
(<a href="{SURVEYURL}&NEWTEST=Y">{SURVEYURL}&NEWTEST=Y</a>)
However, the parameter NEWTEST=Y is not included in the URL.
Does somebody know how I could implement this?
Thank you in advance!
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12906
- Thank you received: 3969
3 years 8 months ago #203957
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Adding newtest=Y to survey link in invitation
In my opinion you should not include it in the invitation link.
If it is a closed survey the participant may interrupt answering the questionnaire and later proceeding by clicking the link again.
If there is a "newtest=Y" he will start at the beginning, not at the question where he interrupted.
Joffm
If it is a closed survey the participant may interrupt answering the questionnaire and later proceeding by clicking the link again.
If there is a "newtest=Y" he will start at the beginning, not at the question where he interrupted.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10103
- Thank you received: 3591
3 years 8 months ago - 3 years 8 months ago #203967
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 Adding newtest=Y to survey link in invitation
Although I mostly agree with Joffm, there may be scenarios where you want to use it.
The {SURVEYURL} is rendered as a hyperlink so cannot be modified.
The @@SURVEYURL@@ placeholder renders the raw URL.
(note that "newtest" is lower-case)
More on email placeholders - manual.limesurvey.org/Email_templates#Email_placeholders
The {SURVEYURL} is rendered as a hyperlink so cannot be modified.
The @@SURVEYURL@@ placeholder renders the raw URL.
Code:
<a href="@@SURVEYURL@@&newtest=Y">@@SURVEYURL@@&newtest=Y</a>
(note that "newtest" is lower-case)
More on email placeholders - manual.limesurvey.org/Email_templates#Email_placeholders
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 3 years 8 months ago by tpartner.
The topic has been locked.
- wahoowa
- Topic Author
- Offline
- New Member
Less
More
- Posts: 14
- Thank you received: 0
3 years 8 months ago #204012
by wahoowa
Replied by wahoowa on topic Adding newtest=Y to survey link in invitation
Thank you both for your answers!
The solutin from tpartner works.
@Joffm: We have been testing our surveys with the parameter newtest=Y with interruptions and we were able to open the survey at the point where we left it, even if we opend the surveyurl on a different device.
As I understood it, newtest forces limesurvey to open a new session, meaning that only if we added a new questions/changed something in the survey, the participant has to start over.
The solutin from tpartner works.
@Joffm: We have been testing our surveys with the parameter newtest=Y with interruptions and we were able to open the survey at the point where we left it, even if we opend the surveyurl on a different device.
As I understood it, newtest forces limesurvey to open a new session, meaning that only if we added a new questions/changed something in the survey, the participant has to start over.
The topic has been locked.