Welcome to the LimeSurvey Community Forum

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

Survey Participants wants one email for multiple surveys

  • eyeballs
  • eyeballs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 8 months ago #186933 by eyeballs
Hi All:

Here is the situation:

One survey has multiple participants, the multiple participants is the same individual (lets say teacher) with different students for evaluation.

The participant dislikes the fact that we send s/him up to 40 separate emails per student and wants his survey ((links (?)) consolidate into one general email notification/invitation.

How can i accomplish the request while preserving the individual token per individual survey?

Thank you.
eyeballs.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 8 months ago - 4 years 8 months ago #186949 by DenisChenu
Idea 1.

1. Create 1 attributes for the student name (more if you need more information)
2. Create 40 attributes for each student
3. When create token, give an email to only one line for each teacher.
4. Generate the tokens (40 for each teachers)
5. Export token table
6. Update token table to fill the 40 attribute by the final tokens (LibreOffice Calc usdage of paste with transpose for example)
7. Delete token table
8. Create tokan table again
9. In email template : use {if(TOKEN:ATTRIBUTE_X !="" …} to add the link with the token filled in attribute


Sample for email template
Code:
<ul>
{if(TOKEN:ATTRIBUTE_1 !="","<li><a href='https://ls.example.org/"+SID+"?token="+TOKEN:ATTRIBUTE_1+"&amp;newtest=Y>Survey for student 1</a></li","")}
{if(TOKEN:ATTRIBUTE_2 !="","<li><a href='https://ls.example.org/"+SID+"?token="+TOKEN:ATTRIBUTE_2+"&amp;newtest=Y>Survey for student 2</a></li","")}
{if(TOKEN:ATTRIBUTE_3 !="","<li><a href='https://ls.example.org/"+SID+"?token="+TOKEN:ATTRIBUTE_3+"&amp;newtest=Y>Survey for student 3</a></li","")}</ul>

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 8 months ago by DenisChenu.
The following user(s) said Thank You: eyeballs
The topic has been locked.
  • eyeballs
  • eyeballs's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
4 years 8 months ago #186966 by eyeballs
Thank you. I will give this a try.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose