Welcome, Guest
Username: Password: Remember me

TOPIC: Extended array filter -> array_filter_equation

Extended array filter -> array_filter_equation 3 years 1 month ago #82649

  • floccs
  • floccs's Avatar
  • Offline
  • Senior Lime
  • Posts: 47
  • Thank you received: 5
  • Karma: 2
I've noticed that from 1.92 array filters are managed with Expression Manager.
In particular I've noticed, tell me if I'm wrong, that Expression Manager use filter qCode to generate a !is_empty(qCode_sq)-like condition for each subquestion sq.
It would be very cool to give the possibility to use a relevance-like equation in the filter field in order to extend the possibility of array filter.

Here a scheme to explain better:

Q1: question
A1 A2 A3
SQ1
SQ2
SQ3

Q2: question2
A4 A5 A6
SQ1
SQ2
SQ3

Q2 filter_equation: (Q1==“A2” || Q1==“A3”)

this equation would generate (Q1_sq == “A2” || Q1_sq == “A3”) for each subquestion sq showing in the question Q2 only the subquestions that have answer A2 or A3 in question Q1
The administrator has disabled public write access.

Extended array filter -> array_filter_equation 3 years 1 month ago #82655

  • floccs
  • floccs's Avatar
  • Offline
  • Senior Lime
  • Posts: 47
  • Thank you received: 5
  • Karma: 2
I've seen that this is similar to Idea #122, but I don't understand if the idea has been implemented as I've said in the first post.
I've to open a new feature request?
The administrator has disabled public write access.

Extended array filter -> array_filter_equation 3 years 1 month ago #82662

  • TMSWhite
  • TMSWhite's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 759
  • Thank you received: 83
  • Karma: 37
We haven't implemented sub-question-level relevance as you describe it yet. However, there is a viable work-around here.

The documentation explains how to do this.
Last Edit: 3 years 1 month ago by TMSWhite.
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.133 seconds