Adding newtest=Y to survey link in invitation

1 month 1 week ago #203954 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


However, the parameter NEWTEST=Y is not included in the URL.

Does somebody know how I could implement this?

Thank you in advance!

Please Log in to join the conversation.

LimeSurvey Partners
1 month 1 week ago #203957 by Joffm
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.


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

1 month 1 week ago - 1 month 1 week ago #203967 by tpartner
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.

<a href="@@SURVEYURL@@&newtest=Y">@@SURVEYURL@@&newtest=Y</a>

(note that "newtest" is lower-case)

More on email placeholders -

Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner -
Last edit: 1 month 1 week ago by tpartner.

Please Log in to join the conversation.

1 month 1 week ago #204012 by wahoowa
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.

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now