- Posts: 21
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array with ranking
- apoggio
- Topic Author
- Offline
- Junior Member
Less
More
6 years 7 months ago #160483
by apoggio
Array with ranking was created by apoggio
Hello,
I would like to create an array with multiple answers and 3 possible choices.
Example:
Question a 1 2 3 no answer
Question b 1 2 3 no answer
Question c 1 2 3 no answer
Question d 1 2 3 no answer
Question e 1 2 3 no answer
The idea between this array is to use it like ranking 3 of each answers and make sure people can not select multiple times 1,2 or 3
Answer example:
Question a is 1
Question b is 3
Question e is 2
all other question are not answer
I can not use the ranking question type of lime Survey too complex to use for my users.
I would like to create an array with multiple answers and 3 possible choices.
Example:
Question a 1 2 3 no answer
Question b 1 2 3 no answer
Question c 1 2 3 no answer
Question d 1 2 3 no answer
Question e 1 2 3 no answer
The idea between this array is to use it like ranking 3 of each answers and make sure people can not select multiple times 1,2 or 3
Answer example:
Question a is 1
Question b is 3
Question e is 2
all other question are not answer
I can not use the ranking question type of lime Survey too complex to use for my users.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13859
- Thank you received: 2522
6 years 7 months ago #160491
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 Array with ranking
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5038
- Thank you received: 1260
6 years 7 months ago #160494
by jelo
Personally I like the last one too. But I had respondents which assigned e.g 1 on two dropdowns and didn't get why they couldn't move on. The first ranking example is preventing that two items have the same rank assigned.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Array with ranking
The last one is not as bullet proof as the first one.DenisChenu wrote: I like the last one too
Personally I like the last one too. But I had respondents which assigned e.g 1 on two dropdowns and didn't get why they couldn't move on. The first ranking example is preventing that two items have the same rank assigned.
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: 13859
- Thank you received: 2522
6 years 7 months ago #160516
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 Array with ranking
The difference betwwen the 1st and last are the "mandatory" set on the 1st one, if yu set mandatory to the last one too : you don't have to control 1 is set if 2 is set (count(self)==max(self)).
And if you disable mandatory on 1st : you need to add count(self)==max(self)
And if you disable mandatory on 1st : you need to add count(self)==max(self)
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.
- apoggio
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 0
6 years 7 months ago #160579
by apoggio
Replied by apoggio on topic Array with ranking
Hello, I like the first solution, but if I want to build the the array with the previous question like
"((H6_SQ001.NAOK == "Y" or H6_SQ002.NAOK == "Y" or H6_SQ003.NAOK == "Y" or H6_SQ004.NAOK == "Y" or H6_SQ005.NAOK == "Y" or H6_SQ006.NAOK == "Y" or H6_SQ007.NAOK == "Y" or H6_SQ008.NAOK == "Y" or H6_other.NAOK == "Y"))"
and filtering the array with question H6
Then the "unique(self)" validation does not work any more.
Do you have an idea?
"((H6_SQ001.NAOK == "Y" or H6_SQ002.NAOK == "Y" or H6_SQ003.NAOK == "Y" or H6_SQ004.NAOK == "Y" or H6_SQ005.NAOK == "Y" or H6_SQ006.NAOK == "Y" or H6_SQ007.NAOK == "Y" or H6_SQ008.NAOK == "Y" or H6_other.NAOK == "Y"))"
and filtering the array with question H6
Then the "unique(self)" validation does not work any more.
Do you have an idea?
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13859
- Thank you received: 2522
6 years 7 months ago #160677
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 Array with ranking
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.