Welcome, Guest
Username: Password: Remember me

TOPIC: iterate survey does not reset "Uses left"

iterate survey does not reset "Uses left" 3 years 2 months ago #64027

  • empiwi
  • empiwi's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hallo,

I want to make a panel survey and found this document on that topic:
docs.limesurvey.org/Iterate+Survey

After the first wave I hit iterate survey. Indeed, it rest the value of "Invitation sent" to "N". But it didn't reset the value of "Uses left" from "0" back to "1". Also it didn't delete the results from the first wave.

Do I have to reset all the "Uses left" from "0" back to "1" for each participant manually? Is this a bug or expected behavior? Why are the results of the first wave not deleted?

Participants trying to do the second wave will only get the error:
This is a controlled survey. You need a valid token to participate.
The token you have provided is either not valid, or has already been used.

Please let me know if you need further information.

Best
empi


Version 1.91+ Build 10563

some settings:
# Anonymized responses? This survey is NOT anonymous. (Cannot be changed)
# Allow editing answers after completion? (No)
# Enable token-based response persistence? (Yes)
# Allow public registration? (No)
# Use HTML format for token emails? (No)
# Set token length to: 5

# Set cookie to prevent repeated participation? (No)
Last Edit: 3 years 2 months ago by empiwi.
The administrator has disabled public write access.

Re: iterate survey does not reset "Uses left" 3 years 2 months ago #64056

  • greg_d
  • greg_d's Avatar
  • OFFLINE
  • Senior Lime
  • Posts: 47
  • Thank you received: 7
  • Karma: 4
Do I have to reset all the "Uses left" from "0" back to "1" for each participant manually? Is this a bug or expected behavior?
It looks like you have to do it either manually or by direct update of a database. It may be a bug, but to fix it one must store initial number of "Uses left" (It may not be 1) to know to what value it has to be re-set.
Why are the results of the first wave not deleted?
The responses of the first wave are marked as "not completed" - when participant accesses the survey for a second time he can see his answers filled in during the previous wave. If you don't want this behavior you have to clean the response table.
Participants trying to do the second wave will only get the error:
This is a controlled survey. You need a valid token to participate.
The token you have provided is either not valid, or has already been used.
If you set the "Uses left" to value higher than 0 participant will be able to access the survey, but as explained above, it must be done by yourself.
Last Edit: 3 years 2 months ago by greg_d.
The administrator has disabled public write access.

Re: iterate survey does not reset "Uses left" 3 years 2 months ago #64059

  • empiwi
  • empiwi's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Hi. thank you for your answer. The following procedure seem to work for me:
1. export results of first wave
2. export participants with tokens to participants.csv
3. deactivate survey
4. delete participants table
5. reactivate survey
6. set column uses left in participants to 1
7. import participants.csv
8. activate survey

I don't want the participants to see their answers from wave1 again.
Also, this way I have the possibility to add questions in new waves of the panel survey.

thanks so far.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.101 seconds
Donation Image