Welcome to the LimeSurvey Community Forum

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

Take survey every week

  • broekie
  • broekie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #140191 by broekie
Take survey every week was created by broekie
Hi,

Completely new to LimeSurvey and trying to find out it Limesurvey is something for our customers.
I do a lot of things in Moodle but the survey options in Moodle are not sufficient enough.

Is it possible to repeat a survey every week?

example:

we have a participant who can take the survey every week but not more.
So week 1, the participant takes the survey and sends it in.
If this participant would take the survey 2 days later, she will get the message: you already done this survey (or something...)
This message will repeat until the week has gone by and the participant can take the survey again.

Thanks
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago - 7 years 8 months ago #140193 by Joffm
Replied by Joffm on topic Take survey every week
Hi, broekie,

I assume that you have installed Limesurvey and already programmed a small test survey to get familiar with the basics.
Especially the structure of the participant (token) table.

Also I assume that this seven days interval is flexible. Each respondent can run the survey on different days and then has to wait for a week till the next time.

Here is how I would do it:
In the token table there is a column called "completed" and a column called "usesleft".
"completed" is obviously the date and time when the respondent completed the survey.
"usesleft" normally starts with "1" and after the respondent sent his data is set to "0".

Okay. I would create a small php program which
  • selects all respondents who have a "complete" date of at least one week ago
  • sets the "uses left" of these respondents back to "1", so they can answer the questionnaire once more

This small php program is called by a cron job let's say each morning. There are a lot of fee cron job providers.

Of course you need to have access to the database and some knowledge in php and SQL.

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 7 years 8 months ago by Joffm. Reason: Ergänzung
The topic has been locked.
  • broekie
  • broekie's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 8 months ago #140197 by broekie
Replied by broekie on topic Take survey every week
Mmmmm... I see what you mean and if I had enough knowledge of php I could write it myself ;)
I do know how to create cron jobs and have access to the database but I am stranding here then...
It is very frustrating, getting a survey done every week is ' standard' in Moodle but there are other things that can't be done with moodle, where Limesurvey is much more flexible. So far I haven't found a tool that has everything I want without programmering myself.

Limesurvey is a nice product though!

thanks,
Broekie
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 8 months ago #140198 by Joffm
Replied by Joffm on topic Take survey every week
Hi, broekie,

well Moodle and LS have different goals.

There is a way - what is called "Iterate Survey".
But IMHO there is not your demand of the flexible 7 days interval.
manual.limesurvey.org/Iterate_Survey

Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: broekie
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose