Welcome to the LimeSurvey Community Forum

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

Update response token using remote control functions

  • arnaudbore
  • arnaudbore's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
2 years 8 months ago #218479 by arnaudbore
Dear Limesurvey experts,

A quick presentation of my use case. My Limesurvey is directly linked to a booking system. Everything is coded in php and Limesurvey is controled using remote control functions through the booking system. When people make a reservation it creates a participant (using the token created by the booking system) and gives them a link to fill the survey. In some specific cases, it may happen that I need to change the token of the participant in Limesurvey. By doing so, I also need to update the token of the response because changing the token of the participant does not propagate to the responses.

I tried to use update_response using the id of the response and the new token but didn't seem to work. I'm not very fond of this option since it needs to enable the "alloweditaftercompletion" option for this survey and I did not wanted this.

While writing this, I'm thinking about exporting the responses and added them again with the new token and delete the old ones. It really feel like this would be a lot of painful work.

What do you think ? Any ideas on how to update a token response ?

Thank you in advance for your help
Arnaud 
 
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 8 months ago #218485 by DenisChenu
Except : create a new one with the new token : i don't really see.
Or extensions.sondages.pro/development-and-...i/documentation.html

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