Welcome to the LimeSurvey Community Forum

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

How might I invite participants to a survey, randomly over a period of time?

  • batkinson
  • batkinson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #116528 by batkinson
I would like to invite participants at random intervals over time.

Here's an example:

If I have 1000 employees, I would like to survey each employee once per year, but at random times. (e.g. 20 random employees receive a survey invite each week for 50 weeks).

Could this be coded in a plugin, or another way?

Thank you, in advance!

Ben
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 month ago #116534 by holch
Well, as everyone is supposed to participate once and only once, I would take a list of employees, give each of them a random number of 1-1000 and then each week send 20 invitations, starting from 1 and ending with 1000.

I don't think this is something a plugin could do.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • batkinson
  • batkinson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #116558 by batkinson
Thank you for the suggestion. I appreciate it.

Ben
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 1 month ago - 9 years 1 month ago #116644 by Mazi
Since you probably don't want to send invitations manually each week you can try to adjust these cron jobs for automating the process of sending Limesurvey email invitations:
www.limesurvey-templates.com/automatical...nvitations-p-49.html

How about adjusting holch's solution to only generate 50 numbers and assign them to 20 employees each? You can then run the cronjob weekly and use a date function to check if the current week == a random number [1,50]. That random number can e.g. be stored as additional token attribute.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Last edit: 9 years 1 month ago by Mazi.
The following user(s) said Thank You: batkinson
The topic has been locked.
  • batkinson
  • batkinson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 month ago #116693 by batkinson
Thank you. I like this approach. I could setup the survey and run it over the course of a year. At the end of the year I'd update the employee list and re-launch.

Much obliged!

Ben
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 1 month ago #116705 by Mazi
You're welcome :-)

If our hints have been helpful and you enjoy Limesurvey please donate to give LimeSurvey a future.

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
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose