Email template fields for uses left, valid from, until

More
2 months 1 week ago #182822 by Indispirit
Hi all


Are there email template fields for uses left, valid from, until that can be used in invitation, reminder, etc emails?

As well as letting users know the url (token) to launch the survey, we'd like to be able to let them know how often the survey can be taken (eg 10 uses) and how long the token will work before expiring.

Thanks!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
2 months 1 week ago - 2 months 1 week ago #182833 by DenisChenu
In email : try {USESLEFT} and {VALIDFROM}

It can wok for any column : github.com/LimeSurvey/LimeSurvey/blob/ma...min/tokens.php#L1373

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .
Last edit: 2 months 1 week ago by DenisChenu. Reason: USESLEFT (thanks tpartner)
The following user(s) said Thank You: cdorin, Indispirit

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #182834 by tpartner
Try these. (I have not tested in an email but they do work in a survey)

- {TOKEN:USESLEFT}
- {TOKEN:VALIDFROM}
- {TOKEN:VALIDUNTIL}

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com
The following user(s) said Thank You: DenisChenu, Indispirit

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #182859 by Indispirit
Thanks all will try.

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #182914 by DenisChenu
Tes the 2 system and tell us if the 2 work.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand .
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #182919 by Indispirit
Confirmed as working:
- {USESLEFT}
- {TOKEN:VALIDFROM}
- {VALIDUNTIL}

Guess it would be worth adding these to the documentation here:

manual.limesurvey.org/Email_templates#Email_placeholders
The following user(s) said Thank You: DenisChenu, cdorin

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #182924 by tpartner
Please do so - the manual is a Wiki so all can contribute.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Official LimeSurvey Partner - partnersurveys.com

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #183098 by cdorin

Please Log in or Create an account to join the conversation.

More
2 months 1 week ago #183100 by Indispirit

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!