Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Array filter to connect two rankings

  • Ryuniri_44052
  • Ryuniri_44052's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 10 months ago #119661 by Ryuniri_44052
Array filter to connect two rankings was created by Ryuniri_44052
Dear all,

currently I have two multiple choice questions connected by an array filter:
1st question: Choose your 10 greatest strengths out of 30 items.
2nd qustion: Choose your 10 greatest weaknesses out of the same items (but of course, the 10 choosen strengths are hidden by an array filter).

Fine so far. Worked.

I tried to implement the same functionality with two ranking questions. Wasn't working. The array filter did not work in a ranking question for me. Did I do something wrong? Or is it impossible to set this kind of array filter to a ranking question with standard functions in LimeSurvey?

Do you know a additional script that might help?
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119668 by tpartner
Replied by tpartner on topic Array filter to connect two rankings
I find that in the latest version Array filter and Array filter exclusion both work with two ranking questions. Check that you have used the correct questions code(s).

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Ryuniri_44052
  • Ryuniri_44052's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 10 months ago #119676 by Ryuniri_44052
Replied by Ryuniri_44052 on topic Array filter to connect two rankings
Hey tpartner,

thank you for your quick response.

It seems that I do something wrong. The system won't hide the "selected/ranked" items for the second question - this is what I want. It also does not take over the chosen ranking.

I am completely sure that I toke the correct question codes. But I don't know what I have to consider in addition.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
8 years 10 months ago #119680 by tpartner
Replied by tpartner on topic Array filter to connect two rankings
Working survey attached:

File Attachment:

File Name: limesurvey...7246.lss
File Size:17 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: Ryuniri_44052
The topic has been locked.
  • Ryuniri_44052
  • Ryuniri_44052's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
8 years 10 months ago #119692 by Ryuniri_44052
Replied by Ryuniri_44052 on topic Array filter to connect two rankings
Thank you again, tpartner!

Worked perfectly!

I found out that the latest tips worked as goog as well. But I was using a template that contains a javascript error (skeletonquest - looks good, but causes some problems).
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose