Welcome to the LimeSurvey Community Forum

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

Email template fields for uses left, valid from, until

  • Indispirit
  • Indispirit's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 11 months 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!
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago - 4 years 11 months 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 , plugin development .
I don't answer to private message.
Last edit: 4 years 11 months ago by DenisChenu. Reason: USESLEFT (thanks tpartner)
The following user(s) said Thank You: cdorin, Indispirit
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months 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.
The following user(s) said Thank You: DenisChenu, Indispirit
The topic has been locked.
  • Indispirit
  • Indispirit's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 11 months ago #182859 by Indispirit
Thanks all will try.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months 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 , plugin development .
I don't answer to private message.
The topic has been locked.
  • Indispirit
  • Indispirit's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 11 months 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
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months 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.
The topic has been locked.
More
4 years 11 months ago #183098 by cdorin
Thanks for updating the manual :) . Pushed the changes for translation.

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
The topic has been locked.
  • Indispirit
  • Indispirit's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 11 months ago #183100 by Indispirit
Nae bother
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose