Welcome to the LimeSurvey Community Forum

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

Survey Participants only answer the survey 3 times.

  • korvoh
  • korvoh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #239278 by korvoh
LimeSurvey version: 5.4.15+221212

I've added Survey Participants.
Each owns a unique token.
I added the number of usesleft for each user to answer the survey 3 times.
If user_1 answers the survey more than 3 times during the test, the usesleft value gets a negative value (like -1, -2 etc.).
When this value is zero, I want user_1 not to see the survey because of the usesleft value.

Does such a feature exist?
How can I make the settings?

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #239283 by holch
If the usesleft count goes down to 0, respondents should not be able to answer anymore. What are your settings for allowing multiple participations? This might be the issue. If you allow multiple participations, then they can participate as often as they want, no matter what the uses left count is, as far as I understand it.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 year 3 months ago #239330 by jelo

If user_1 answers the survey more than 3 times during the test, the usesleft value gets a negative value (like -1, -2 etc.).
When this value is zero, I want user_1 not to see the survey because of the usesleft value.
 
That looks like a bug. usesleft should be 0 or higher. A negative value is a clear sign for a bug.
I recommend to open a bugreport. It might have been fixed in the newest release.
 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

  • korvoh
  • korvoh's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 3 months ago #239432 by korvoh
The setting "A participant can answer a survey more than once" is active.

The usesleft value is 3 at first.

The usesleft value decreases by 1 each time the participant survey is completed, but when it reaches 0 (zero), it causes the participant to display the survey again and complete it.

As a result, usesleft is -1 (minus one).

I don't know how to bugreport. Is there an article on this topic?

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 3 months ago #239436 by tpartner

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
1 year 3 months ago #239448 by jelo
If you report this issue for version 5.4.15+221212 you will be asked to check with the newest version again.
So you might check if this issue is already fixed in newer versions.

 

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose