Welcome to the LimeSurvey Community Forum

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

Same token for 3 surveys with different start/end times based on departure date

More
2 days 12 hours ago #274302 by Riadh2020
Please help us help you and fill where relevant:
LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey Cloud: my server 6.14
Survey theme/template: twnty -three
==================Hello,I need help for a hotel project.What I have:
  • One registration form (public).
    Guest gives: name, email, departure date.
  • Two other surveys:
    1. Complaint survey
    2. Satisfaction survey
What I want:
  • When a guest registers, he receives one email with two links (one for each survey).
  • The two surveys must work with the same token (the one created during registration).
  • The surveys must be active at different times:
    • Complaint survey:
      • Active from check-in until departure + 30 minutes.
    • Satisfaction survey:
      • Active only 1 day before departure until departure + 30 minutes.
Questions:
  1. Can LimeSurvey do this automatically when I use "Allow public registration"?
  2. If not, what is the easiest way?
    • Use Central Participant Database (CPDB)?
    • Use a script + API?
    • Use a plugin?
  3. Has anyone done this before? Any advice?
Thank you for your help.

Please Log in to join the conversation.

More
2 days 7 hours ago #274307 by holch
I find your timings too rigid.

I might want to complain after I left. Or I might want to respond the satisfation survey a couple of days after I have left. Why only until 30min after departure?

To be able to do this you most probably will have to use the API with custom scripts.

E.g. once the person registers you trigger the creation of the other two surveys based on the arrival and departure dates in the first survey.

However, what happens if the person adds a couple of days while they are already there? Or if they shorten their stay? You would need to cater for this too somehow.

The Limesurvey part is easy. But you will need to create your own script to handle all the timings, etc.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose