Expiration date in invitation mail (1.92)

More
5 years 1 month ago #73097 by fransmarcelissen
How do I put the expiration date in an invitation email? I thought I could do it with {EXPIRY} , but that does not work.
And is it in this release possible to use EM expressions in emails? If yes: how (I asked this before, and as far as I understood it would be included).

Please Log in to join the conversation.

More
5 years 1 month ago #73150 by Mazi
1. If EXPIRY isn't replaced properly, please file a bug report.

2. You should be able to use EM in emails. It should already be avilable at 1.92 RC3. Please give it a try and report back.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #73194 by fransmarcelissen
Indeed, both EXPIRY and EM works. I made some other errors.
Thanks
Frans

Please Log in to join the conversation.

More
5 years 1 month ago #73203 by Mazi
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #73251 by Steve01
Hello,

do you have an example for an invitation email using the ExpressionManager? It might be a good idea to add this to the ExpressionManager HowTos article in the documentation.

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago #73256 by Mazi
I have none, sorry.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #73272 by Steve01
I think fransmarcelissen can provide an example. :cheer:

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago - 5 years 1 month ago #73324 by fransmarcelissen
If I can help you: the following example of EM in a mail works:
Dear{if (ATTRIBUTE_2=='M','hr',if (ATTRIBUTE_2=='V','mw','hr/mw'))} {LASTNAME},
Please fill-in the questionnaire before {EXPIRY}

Of course it can be much more complicated. It is not possible to use question values, only tokens and attributes.
I think in emails you should never use html, but it works in html email as well in ascii mail. In html you are helpted with the spelling of the variables, in ascii you have to write it by hand.
EXPIRY is the expiration date of the questionnaire, not the expiration date that you give up as a token (I do'nt know whether this is a bug or a feature)
Last Edit: 5 years 1 month ago by fransmarcelissen.

Please Log in to join the conversation.

More
5 years 1 month ago #73360 by Mazi
Please add a note that such tailoring is possible for emails since version 1.92 at docs.limesurvey.org/Tokens&structure=Eng...+LimeSurvey#Emailing and also add your example at docs.limesurvey.org/Expression+Manager+H...tions+for+LimeSurvey
Thanks!

fransmarcelissen wrote: EXPIRY is the expiration date of the questionnaire, not the expiration date that you give up as a token (I do'nt know whether this is a bug or a feature)

That is intended behavior.


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.

More
5 years 1 month ago #73362 by Steve01
Thank you. I added a tailoring example for the invitation email using this and the existing Mr/Mrs example from TMSWhite:
docs.limesurvey.org/tiki-index.php?page_..._in_invitation_email

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago #73370 by Steve01

Mazi wrote: Please add a note that such tailoring is possible for emails since version 1.92 at docs.limesurvey.org/Tokens&structure=Eng...+LimeSurvey#Emailing and also add your example at docs.limesurvey.org/Expression+Manager+H...tions+for+LimeSurvey


Both are now done.

Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team

Please Log in to join the conversation.

More
5 years 1 month ago #73372 by Mazi
Great, we really appreciate your effort to improve the manual!


Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)survey-consulting.com'"

Please Log in to join the conversation.