- Posts: 12
- Thank you received: 0
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
- Topic Author
- Offline
- Banned
Less
More
9 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...
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...
Attachments:
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
9 years 1 month ago #118115
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Sub-question hide/show array filter
Did you try the array filter in the advanced options of the array?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Kaboym_44772
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 years 1 month ago - 9 years 1 month ago #118116
by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
Attachments:
Last edit: 9 years 1 month ago by Kaboym_44772.
The topic has been locked.
- Kaboym_44772
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
9 years 1 month ago #118118
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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.
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.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Attachments:
The topic has been locked.
- Kaboym_44772
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 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
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 years 1 month ago - 9 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: 9 years 1 month ago by Kaboym_44772.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
9 years 1 month ago #118122
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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.
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Kaboym_44772
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 years 1 month ago - 9 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?
Should I try reseting the conditions?
Last edit: 9 years 1 month ago by Kaboym_44772.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
9 years 1 month ago #118124
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11639
- Thank you received: 2737
9 years 1 month ago #118125
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
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?
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The topic has been locked.
- Kaboym_44772
- Topic Author
- Offline
- Banned
Less
More
- Posts: 12
- Thank you received: 0
9 years 1 month ago #118128
by Kaboym_44772
Replied by Kaboym_44772 on topic Sub-question hide/show array filter
Attachments:
The topic has been locked.