- Posts: 4
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Auto check provided response
- Wojtek
- Topic Author
- Offline
- New Member
Less
More
3 years 3 months ago #208907
by Wojtek
Auto check provided response was created by Wojtek
Hi,
I have survey with tokens (100 participants). Each of them has 50 devices with unique number. They have to provide number of the device (one per one survey) and do the survey for each 50 devices. I want to help them to block using the same unique number twice. How can I do it in the system? How to check if provided 6 digits number already exists in answer and was provided by specific token?
I have survey with tokens (100 participants). Each of them has 50 devices with unique number. They have to provide number of the device (one per one survey) and do the survey for each 50 devices. I want to help them to block using the same unique number twice. How can I do it in the system? How to check if provided 6 digits number already exists in answer and was provided by specific token?
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11758
- Thank you received: 2753
3 years 3 months ago #208923
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Auto check provided response
What?
Sorry, don't get what you are trying to do.
Sorry, don't get what you are trying to do.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
3 years 3 months ago #208927
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Auto check provided response
You cannot access the answers of other respondents during an interview.Wojtek wrote: How to check if provided 6 digits number already exists in answer and was provided by specific token?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 3 months ago #208931
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Auto check provided response
Except if you use 4.X version : see
manual.limesurvey.org/StatFunctions
plugin
For example : {statCountIf(self.sgqa,self.NAOK) == 1}
remind : statCountIf and statCount work only on a second page : no javascript control.
For example : {statCountIf(self.sgqa,self.NAOK) == 1}
remind : statCountIf and statCount work only on a second page : no javascript control.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Wojtek
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 3 months ago #208936
by Wojtek
Replied by Wojtek on topic Auto check provided response
Thank you. Does this function work for all responses or can be narrowed to responses for particular token user? What do you mean by "work only on a second page"? How to understand sentence from instruction "when move in survey"?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 3 months ago #208938
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Auto check provided response
All response on self
Then you can create a equation question with (if you question code was Q01)
{TOKEN}{Q01.NAOK}
With code EqCheck
And use for validation : {statCountIf(EqCheck.sgqa,EqCheck.NAOK) == 0}
Then : user are allowed to enter 123 on Q01.NAOK only one time (need 0 : count submitted answer by default)
For next page / diffrent page: the function is done only when user click on move next/ move previous/ save etc …
Then you can create a equation question with (if you question code was Q01)
{TOKEN}{Q01.NAOK}
With code EqCheck
And use for validation : {statCountIf(EqCheck.sgqa,EqCheck.NAOK) == 0}
Then : user are allowed to enter 123 on Q01.NAOK only one time (need 0 : count submitted answer by default)
For next page / diffrent page: the function is done only when user click on move next/ move previous/ save etc …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: tpartner
The topic has been locked.
- Wojtek
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 3 months ago #208947
by Wojtek
Replied by Wojtek on topic Auto check provided response
DenisChenu. Great. Thank you.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 3 months ago #208961
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Auto check provided response
You use 4.X ?
If yes : please tell us if it work : its really a new feature, we have a test on it but need some idea
If yes : please tell us if it work : its really a new feature, we have a test on it but need some idea
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- Wojtek
- Topic Author
- Offline
- New Member
Less
More
- Posts: 4
- Thank you received: 0
3 years 3 months ago #208971
by Wojtek
Replied by Wojtek on topic Auto check provided response
Actually I use older version but have to download 4.x:-). Also I have an issue how to automatically upload dropdown lists based on tokens. I have survey 1 which can be answered 50 times by each token. For example each token provides 50 different car plates numbers. In survey 2 I need dropdown lists containing 50 different car plates numbers specific for each token. It's easy to do it manually but how to do it automatically? Is it possible to use one question for all tokens and in this question has query which assigns proper car plates to token?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
3 years 3 months ago #208974
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Auto check provided response
No, no , no …
Big warning : if you can : don't use 4X in production …
Big warning : if you can : don't use 4X in production …
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.