Welcome to the LimeSurvey Community Forum

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

Sub-question hide/show array filter

More
10 years 5 months ago #118114 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...

More
10 years 5 months ago #118115 by holch
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.
More
10 years 5 months ago - 10 years 5 months ago #118116 by Kaboym_44772
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 5 months ago by Kaboym_44772.
The topic has been locked.
More
10 years 5 months ago #118117 by Kaboym_44772
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.
More
10 years 5 months ago #118118 by holch
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.
More
10 years 5 months ago #118119 by Kaboym_44772
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.
More
10 years 5 months ago - 10 years 5 months ago #118120 by Kaboym_44772
I'm sorry I now understand the error. I was importing the group to my spanish-based survey hehe
Last edit: 10 years 5 months ago by Kaboym_44772.
The topic has been locked.
More
10 years 5 months ago #118122 by holch
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.
More
10 years 5 months ago - 10 years 5 months ago #118123 by Kaboym_44772
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 5 months ago by Kaboym_44772.
The topic has been locked.
More
10 years 5 months ago #118124 by holch
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.
More
10 years 5 months ago #118125 by holch
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.
More
10 years 5 months ago #118128 by Kaboym_44772
Advanced settings:



Question codes:

More
10 years 5 months ago #118129 by Kaboym_44772
This is the question group file

File Attachment:

File Name: limesurvey...p_21.lsg
File Size:28.37 KB
The topic has been locked.
More
10 years 5 months ago #118154 by Kaboym_44772
This problem repeats itself no matter the question group in my survey. But doesn't appear in a new survey so I think is a general configuration issue on the survey. What could be messing around with the survey?
The same problem happens if I export and import the survey
The topic has been locked.
More
10 years 5 months ago #118155 by holch
What's the base language of your survey? I tried to import it and got an error for English, but also for Spanish.

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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose