Array with ranking

More
1 week 1 day ago #160483 by apoggio
apoggio created the topic: Array with ranking
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.

Please Log in to join the conversation.

More
1 week 1 day ago #160491 by DenisChenu
DenisChenu replied the topic: Array with ranking
Hi,
demonstration.sondages.pro/714997

I like the last one too

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
1 week 1 day ago #160494 by jelo
jelo replied the topic: Array with ranking

DenisChenu wrote: I like the last one too

The last one is not as bullet proof as the first one.
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.

Please Log in to join the conversation.

More
6 days 22 hours ago #160516 by DenisChenu
DenisChenu replied the 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) :)

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

More
5 days 50 minutes ago #160579 by apoggio
apoggio replied the 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?

Please Log in to join the conversation.

More
3 days 1 hour ago #160677 by DenisChenu
DenisChenu replied the topic: Array with ranking
unique(self.NAOK) maybe (surely)

See manual.limesurvey.org/Expression_Manager#Usage_of_NAOK

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).
An error happen ? Before make a new topic : remind the Debug mode .

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!