Welcome to the LimeSurvey Community Forum

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

Allow multiple response with token-based response persistence

  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago - 3 years 5 months ago #221885 by doesthiswork
Hi,

for my survey I want the participant to be able to come back and edit they previous answer.

When they think they are done with the survey they are supposed to be able to start a new response.

Right now I am using the participant settings "Enable token-based response persistence" and "Allow multiple responses or update responses with one token".

This makes it possible that the participant can come back and edit their last response. My problem now is that the participant cannot start a new response.

Is it possible that the participant can start a new response when they press on a button "finsh and start new"?

I am using Version 3.27.19+210928

Thanks for the help in advance :)
Last edit: 3 years 5 months ago by doesthiswork. Reason: Added Version
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #221891 by tpartner
If you want to allow both editing existing response sets and starting new responses, how would LimeSurvey know which existing response to edit?

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
3 years 5 months ago #221893 by jelo

Is it possible that the participant can start a new response when they press on a button "finsh and start new"?
 
There is no way for the respondent to create a new response. The settings are forcing the respondent into the finshed survey response set.
In your setting it's always the update of an response. ("Allow multiple responses or update responses with one token" ).

There might be a plugin for helping out. Haven't tested myself, so I can be wrong.

Allow participant with token to create or reload responses


gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse/

Perhaps the developer of the plugin will see this thread and comment.


 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #221894 by doesthiswork

If you want to allow both editing existing response sets and starting new responses, how would LimeSurvey know which existing response to edit?
 
The participant is only allowed to view and edit their last response.
When they press the button "finish the survey" and open the survey again they are supposed to start a new response.
Idea would be to have a hidden field which is set to 1 when the participant presses the button "finish the survey".
I just don't know how to force limesurvey to start a new response.
The topic has been locked.
  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #221895 by doesthiswork

Is it possible that the participant can start a new response when they press on a button "finsh and start new"?

 
There is no way for the respondent to create a new response. The settings are forcing the respondent into the finshed survey response set.
In your setting it's always the update of an response. ("Allow multiple responses or update responses with one token" ).

There might be a plugin for helping out. Haven't tested myself, so I can be wrong.

Allow participant with token to create or reload responses


gitlab.com/SondagesPro/coreAndTools/reloadAnyResponse/

Perhaps the developer of the plugin will see this thread and comment.



 
Thank you! I will check it out and see if it works the way I want it.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #221896 by Joffm
Hi,

press the button "finish the survey"

This is the "Subnit"-button?

With 
"Enable token-based response persistence" = ON
"Allow multiple responses or update responses with one token" = OFF
"Participant may save and resume later:" = ON

the participant can close the browser anywhere and a new click on the link leads to the active survey where the participant left it..

After submitting this survey and clicking the link again there will be a new survey opened, IF you set "usesleft" to an appropriate value in the participants table.
But not both at the same time.

With
"Allow multiple responses or update responses with one token" = ON
the participant always gets back to his last response from the beginning of the survey, even if you add "newtest=Y"

​​​​​​​Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #221897 by doesthiswork

Hi,

press the button "finish the survey"

This is the "Subnit"-button?

With 
"Enable token-based response persistence" = ON
"Allow multiple responses or update responses with one token" = OFF
"Participant may save and resume later:" = ON

the participant can close the browser anywhere and a new click on the link leads to the active survey where the participant left it..

After submitting this survey and clicking the link again there will be a new survey opened, IF you set "usesleft" to an appropriate value in the participants table.
But not both at the same time.

With
"Allow multiple responses or update responses with one token" = ON
the participant always gets back to his last response from the beginning of the survey, even if you add "newtest=Y"

​​​​​​​Joffm
 
Thank you!! That is exactly what I needed.

Is it possible to add the function "resume later" to a button?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #221898 by Joffm
If you have a "token based" survey you'd better remove this link.
In such a survey the participants just closes the browser and after a click on the link he will be at the same page of the survey where he left.

This "Resume later" is used in opne surveys, where the participant has to enter some credentials like a username and a password in order to be recognized by the system when he reenters the survey.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago - 3 years 5 months ago #221899 by doesthiswork

If you have a "token based" survey you'd better remove this link.
In such a survey the participants just closes the browser and after a click on the link he will be at the same page of the survey where he left.

This "Resume later" is used in opne surveys, where the participant has to enter some credentials like a username and a password in order to be recognized by the system when he reenters the survey.

Joffm

 
I don't think we mean the same thing.
At the top of the survey there is a "resume later" button when you activate the option "Participant may save and resume later".
I want to add a button at the bottom of the survey with the same functionality.

Edit: my survey is token based.
Last edit: 3 years 5 months ago by doesthiswork.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #221914 by holch
Joffm is talking about exactly this. "Save and resume later" makes no sense for token based surveys, in my opinion. As Joffm says, do not use this feature if you are running a token based survey with "token based response persistance", because by a simple click on the original link the respondents get back to where they left off in the survey, just as they would with "save and resume later". My recommendation: do NOT mix those two.

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.
The topic has been locked.
  • doesthiswork
  • doesthiswork's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
3 years 5 months ago #221932 by doesthiswork

Joffm is talking about exactly this. "Save and resume later" makes no sense for token based surveys, in my opinion. As Joffm says, do not use this feature if you are running a token based survey with "token based response persistance", because by a simple click on the original link the respondents get back to where they left off in the survey, just as they would with "save and resume later". My recommendation: do NOT mix those two.
 
I think I explained myself wrong. I just meant "Resume later" and not "Save and resume later"
Currently I have the following options set:
"Enable token-based response persistence" = ON
"Allow multiple responses or update responses with one token" = OFF
"Participant may save and resume later:" = ON

This does exactly what I needed because the participant does not have to fill in a username and password. The participant has the option to save his progress and resume the survey later with the same token. For that he needs to press the "Resume later" in the top bar. I set the amount of uses left to more than 1 so the participant can submit multiple responses.

I wanted to place another button with the same functionaility at the bottom of every page so the participant has either the option to press "Resume Later" at the top bar or at the bottom of the survey.

Sorry for all the confusion.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 5 months ago #221934 by holch
Where does this "resume later" button come from and how is it different to the "save and resume later" button? I am not aware of two different "buttons" in Limesurvey.

I am confused.

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

Lime-years ahead

Online-surveys for every purse and purpose