Welcome to the LimeSurvey Community Forum

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

use end url and attributes to redirect - problem when resuming later

More
5 years 9 months ago #190508 by asilbering
Hi all,

thanks again for your help.

I managed to get it to work with the equation question. I think the problem was coming from some double quotes.

Best regards,
Ana
The topic has been locked.
More
5 years 8 months ago - 5 years 8 months ago #191748 by asilbering
Hi all,

I need users to complete the same survey several times for different lessons. To make things simpler for them, I send a single link in the invitation email and I use end url and token attributes to redirect the users to a new survey. See attached survey.
In my participant table each participant is listed as many times as they have lessons and each entry contains the title of the lessons in a token attribute and a second attribute called "nextToken" contains the token to the following survey or NA (in case the user has reached the survey for the last lesson).
So I first generate and export dummy tokens and then add the participant and lesson details to each entry (in excel).
The problem is that if a user submits the first survey and the second survey is loaded, if they decide to save and resume later, they can no longer access the survey (because the link they have contains the token of the first survey, which does not match the token stored in the cookie).

Do you have any suggestions to solve this problem? I would urgently need a workaround because I have a survey running, and I had not though about this during development and I am afraid people will start to run into this problem, which would be very annoying..

Thanks in advance!
Ana

I am using LS 3.19
Last edit: 5 years 8 months ago by asilbering.
The topic has been locked.
More
5 years 8 months ago #191765 by asilbering
I have found this link:
www.limesurvey.org/manual/SaveResume
so I guess there should be a workaround, but I don't know how to implement it.
If I understood correctly there is an option to send an email with the link when the user saves, but I could not find the place to activate this functionality.
Any hints are more than welcome!!
Thanks again in advance for your help!
Best,
Ana
The topic has been locked.
More
5 years 8 months ago #191766 by tpartner
Survey settings --> Notifications & data --> Participant may save and resume later

- www.limesurvey.org/manual/Notifications_...ave_and_resume_later

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
5 years 8 months ago - 5 years 8 months ago #191780 by asilbering
Thanks tpartner, that setting was enabled already, but the user did not receive a new email with the link of the survey that had been saved when they saved to resume later.
After playing around a bit I found out that disabling the token persistence with the save/resume setting ON might be a solution for my problem.
In this configuration the user is asked to create a username and password to resume later, and an email is sent if they enter the email address.
This solution is ok but not optimal.
Since the survey is not public, there is no reason to ask for the details again when saving. Would it be possible to pre-fill the "save form" with the information in the participant list (using the token as password, for example)?

Or even better, would it be possible to send the email automatically without having to fill out this form?

Thanks in advance,

Ana
Last edit: 5 years 8 months ago by asilbering.
The topic has been locked.
More
5 years 8 months ago #191784 by tpartner
Not as far as I know.

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
5 years 8 months ago - 5 years 8 months ago #191787 by asilbering
ok, thanks!
Any other suggestions to avoid having to fill out the "save form" or avoiding the save form altogether are more than welcome!
Thanks,
Ana

PS: would it at least be possible to make the email field mandatory in the "save form"?
Last edit: 5 years 8 months ago by asilbering.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose