Welcome to the LimeSurvey Community Forum

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

Sub-question hide/show array filter

  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago #118114 by Kaboym_44772
Sub-question hide/show array filter was created by Kaboym_44772
Hello
Ive been reading the documentation and tried to understand examples but I cannot find the solution.
I want to filter my array from the answers in previous questions. I can change the names of the rows of the array but I cannot make the unused comments from multiple choice dissappear.
I want this:



I I have this:



The problem I think is that I need to add the lines that are in the Relevance [Validation] (Default value) column to the subquestions but I don't know what kind of conditions they are and where do I add them...

The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 month ago #118115 by holch
Replied by holch on topic Sub-question hide/show array filter
Did you try the array filter in the advanced options of the array?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago - 10 years 1 month ago #118116 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
yes I did, that's why I can filter the label of the rows in the array.
This is what I have

Last edit: 10 years 1 month ago by Kaboym_44772.
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago #118117 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
Im using for the first question a "multiple short text" type but it works just as fine as the "multiple choice with comments" type. Ive tried both configurations and I have the same result with both.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 month ago #118118 by holch
Replied by holch on topic Sub-question hide/show array filter
Don't know, but it works perfectly here:



Have a look at the question group. I tried to hide the second question all the way, if there is no answer at all in Q1 but did not manage. So please ignore that part for now.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago #118119 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
Thanks for your example! I tried to import it but I get this error : "The languages of the imported group file must at least include the base language of this survey."
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago - 10 years 1 month ago #118120 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
I'm sorry I now understand the error. I was importing the group to my spanish-based survey hehe
Last edit: 10 years 1 month ago by Kaboym_44772.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 month ago #118122 by holch
Replied by holch on topic Sub-question hide/show array filter
Yes, won't work if the base languages of the two surveys don't match. I guess mine was English or Portuguese. Probably English.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago - 10 years 1 month ago #118123 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
it works fine and if I do a new survey (spanish-based) it works too. I cannot guess what is causing the problem in my survey.

Should I try reseting the conditions?
Last edit: 10 years 1 month ago by Kaboym_44772.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 month ago #118124 by holch
Replied by holch on topic Sub-question hide/show array filter
How did you set up the array filter? Can you show me a screenshot of the advanced settings of the second question, which shows the array filter input?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 1 month ago #118125 by holch
Replied by holch on topic Sub-question hide/show array filter
Maybe you can also export the questin group with just these two questions, so I can import it here and have a look at your settings?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • Kaboym_44772
  • Kaboym_44772's Avatar Topic Author
  • Offline
  • Banned
  • Banned
More
10 years 1 month ago #118128 by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
Advanced settings:



Question codes:

The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose