Welcome, Guest
Username: Password: Remember me

TOPIC: Mandatory Ranking won't advance

Mandatory Ranking won't advance 3 months 2 weeks ago #108349

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 months 2 weeks ago by Gophermuncher. Reason: edited for clarity
The administrator has disabled public write access.

Mandatory Ranking won't advance 3 months 1 week ago #108372

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6252
  • Thank you received: 799
  • Karma: 239
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
The administrator has disabled public write access.
The following user(s) said Thank You: Gophermuncher

Mandatory Ranking won't advance 3 months 1 week ago #108385

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 months 1 week ago by Gophermuncher.
The administrator has disabled public write access.

Mandatory Ranking won't advance 3 months 1 week ago #108397

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6252
  • Thank you received: 799
  • Karma: 239
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.
The administrator has disabled public write access.
The following user(s) said Thank You: Gophermuncher

Mandatory Ranking won't advance 3 months 1 week ago #108414

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.
The administrator has disabled public write access.

Mandatory Ranking won't advance 3 months 1 week ago #108415

  • DenisChenu
  • DenisChenu's Avatar
  • OFFLINE
  • Moderator Lime
  • Posts: 6252
  • Thank you received: 799
  • Karma: 239
Did you uncheck the mandatory ?

For bug reporting : www.limesurvey.org/en/community-services/bug-tracker
The administrator has disabled public write access.
The following user(s) said Thank You: Gophermuncher

Mandatory Ranking won't advance 3 months 1 week ago #108458

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?
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.225 seconds
Donation Image