Check out the LimeSurvey source code on GitHub!

Allow multiple responses OR update responses with one token?

More
3 years 1 week ago #105112 by dweisser
It seems that you can EITHER allow a single respondent to edit a submitted OR allow that same user to add a new response to the database. This is accomplished by setting: Allow token based persistence to "Yes" and Allow multiple responses or update responses with one token? to "Yes"

I have a requirement where the respondent must be able to do one AND the other. So, my question is this: Is there a configuration that will allow a single respondent, identified by a token, to choose to edit a previously submitted survey or choose to simply answer a new one?

Thank you for your consideration,
David

Please Log in to join the conversation.

More
3 years 1 week ago #105113 by dweisser
To add to my question above:
It seems that when you allow Token-Based Persistence, the template drops the Exit and Clear All button.
I'm using a Basic clone.

I've thought of using a javascript button that clears all the fields of a previously submitted survey.
However, this is not the same as allowing the respondent to choose to submit a new survey.

The option says, Allow multiple responses or Allow multiple responses or update responses with one token. Am I missing something obvious?

Any thoughts would be appreciated - as always.
David

Please Log in to join the conversation.

More
3 years 6 days ago #105198 by dweisser
Am I resigned to conclude that this is not possible?

Please Log in to join the conversation.

More
3 years 6 days ago #105202 by DenisChenu
Hi,

Not core included. Need a plugin (and no idea actually how to start).

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand (or search sondages pro).

Please Log in to join the conversation.

More
3 years 4 days ago #105303 by dweisser
Denis,
I found a partial solution. I think. :silly:

0) Set up your survey to use tokens.
1) Set up a user group and add that repondent name to it.
2) Restrict permissions for that user such that he can only view and updates responses.

Of course the problem is attaching that respondent's token to the data entery screen so he can only view his response. He can change any response he likes! Is there was a way to use a query string to limit this?
http://www.domainname.com/survey/index.php?r=admin/responses/sa/index/surveyid/944284

I'm still in 2.00+. (Waiting for comfort update!) What do you think?
David

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form