Welcome to the LimeSurvey Community Forum

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

Hotel Guest Satisfaction Survey - Single Submission per Stay

  • fenjiao
  • fenjiao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #147661 by fenjiao
I have a guest satisfaction survey for my client, a hotel. This survey will send to guest next day after they've checked-out.

The requirement is each guest only allowed to submit this survey once each time after they've checked-out.

Currently, I have set this 'Set cookie to prevent repeated participation?' to 'Yes' and it is working fine on 1 submission.
The problem is when a guest stay again at the same hotel (return guest) and we send him/her this survey after check-out, this time will having problem to submit survey.

I would like to know is it possible to do in this way:- 1 submission per stay. I need to restrict guest to only answer once this survey after check-out but if they are staying again, they will able to answer again. Maybe can have some identifiers?

Thanks in advance.
The topic has been locked.
More
7 years 2 months ago #147668 by Ben_V
Hi,

you can basically:

1) not use the LS cookie feature and use javascript to set your own cookie for this survey

2) Change the expiration time (e.g. 2 days) of the LS cookie

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • fenjiao
  • fenjiao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #147672 by fenjiao
Hi Ben,

Do you have any sample scripts that can share with me?
The topic has been locked.
More
7 years 2 months ago #147673 by Ben_V

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #147680 by tpartner
3) Use tokens

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
7 years 2 months ago #147682 by Ben_V

tpartner wrote: 3) Use tokens


+1

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #147717 by holch
I agree with Tpartner, this is clearly a task for tokens.

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.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 2 months ago #147732 by DenisChenu

Ben_V wrote:

tpartner wrote: 3) Use tokens


+1

+1














PS : we need a +1 for next forum system ;)

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.
The topic has been locked.
More
7 years 2 months ago #147737 by Ben_V

DenisChenu wrote: PS : we need a +1 for next forum system ;)

+1

Benoît

EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The topic has been locked.
  • fenjiao
  • fenjiao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 2 months ago #148285 by fenjiao
Thanks.

Let me study on how tokens work.
The topic has been locked.
  • fenjiao
  • fenjiao's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
7 years 1 month ago #149229 by fenjiao
I have studied on tokens but it seems like not a good solution for me.

We are embedding hyperlink for survey into our email template and this hyperlink will include guest details (name, email, room no, arrival date, departure and etc) from hotel's PMS too (see attachment) but tokens seems like only can put some basic info like name and email address and we seems need to add in token manually. We are sending post stay thank you email directly from our system but tokens need to send invitation thru lime survey system.

I am thinking to use cookie and set expiry date on current cookie, where can I change it?

Thanks.
Attachments:
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
7 years 1 month ago #149236 by DenisChenu
Hi,

manual.limesurvey.org/Survey_participant...ned_attribute_fields

About cookies : i don't think there are a settings for this.

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.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose