Mandatory Ranking won't advance

More
3 years 1 month ago - 3 years 1 month ago #108349 by Gophermuncher
Gophermuncher created the topic: Mandatory Ranking won't advance
Hello,

I have a ranking composed of a preset list of items along with any optional items that the user may want to add. I did this by asking the user to fill in up to 5 multiple short text questions.

The problem is that if I set the ranking to mandatory, if the user does not rank all 5 optional questions, the page will not advance. Is there a work around or is there another way to approach this problem?

Thanks for the help!
Attachments:
Last Edit: 3 years 1 month ago by Gophermuncher. Reason: edited for clarity

Please Log in to join the conversation.

More
3 years 1 month ago #108372 by DenisChenu
DenisChenu replied the topic: Mandatory Ranking won't advance
You can use 'array_filter'[*] : you filter the ranknig question with the multiple texte question.

Then only the 'needed' choice are shown

Denis
manual.limesurvey.org/Question_type_-_Ra...r_.28array_filter.29

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 .
The following user(s) said Thank You: Gophermuncher

Please Log in to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #108385 by Gophermuncher
Gophermuncher replied the topic: Mandatory Ranking won't advance
I thought I used Array Filter correctly in my example. Only the items needed are displayed in the rankings but when I click next, it tells me that I'm missing items. Do you mind taking a look at what I did?
Last Edit: 3 years 1 month ago by Gophermuncher.

Please Log in to join the conversation.

More
3 years 1 month ago #108397 by DenisChenu
DenisChenu replied the topic: Mandatory Ranking won't advance
You're rigth,

seems there are a bug here : you can report it.

ACtually you can use :
count(self.NAOK)==sum(3,count(that.Others.NAOK))
in 'Question validation equation ' and remove the mandatory. It work good.

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 .
The following user(s) said Thank You: Gophermuncher

Please Log in to join the conversation.

More
3 years 1 month ago #108414 by Gophermuncher
Gophermuncher replied the topic: Mandatory Ranking won't advance
I can't seem to get it to work. It won't let me go to next page unless I have 8 items (5 'optional' and 3 mandatory ones).

Also, I'm embarrassed to say but I can't find where to report the bug after logging into bug tracker.

Please Log in to join the conversation.

More
3 years 1 month ago #108415 by DenisChenu
DenisChenu replied the topic: Mandatory Ranking won't advance
Did you uncheck the mandatory ?

For bug reporting : www.limesurvey.org/en/community-services/bug-tracker

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 .
The following user(s) said Thank You: Gophermuncher

Please Log in to join the conversation.

More
3 years 1 month ago #108458 by Gophermuncher
Gophermuncher replied the topic: Mandatory Ranking won't advance
I unchecked mandatory but it didn't work. However, if I do this:
count(self.NAOK)==sum(3,count(that.Others.NAOK)) or count(self.NAOK)==sum(4,count(that.Others.NAOK))

it works! Thanks for the help =D

Sorry for being dense, but after you log into bug tracker, which of the following menu links:

(Main | My View | View Issues | Change Log | Roadmap | Repositories | My Account | Logout)

do I go to to submit a bug report?

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now