Welcome to the LimeSurvey Community Forum

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

Conditions on subquestions

  • fmerken
  • fmerken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 months 3 days ago #244498 by fmerken
Conditions on subquestions was created by fmerken
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 3.28.42+221213
Own server or LimeSurvey hosting: Own server (limited features)
Survey theme/template: fruity
Hi ! I'm having trouble displaying/hiding some subquestions with conditions. Here's the layout :
[Q1] How do you communicate with medical services? 
  • [Q1_a] Phone call
  • [Q1_b] Online form
  • [Q1_c] Face-to-face
  • [Q1_d] Email
  • [Q1_e] Letter
[Q2] You selected several communication modes [Q1_a] & [Q1_d]. How much do you like communicating through each of them? Please use the sliders, with 0 = I don't like to communicate like this at all and 100 = I love communicating like this.

I designed Q1 as a multiple answer question type, and Q2 as Multiple numerical input Question type, with sliders from 1 to 100 in Q2. The subquestions in Q1 and Q2 are the same, but I want only the subquestions selected in Q1 to appear in Q2. So in this example, only the sliders for Q1_a and Q1_c should appear. I'm having trouble finding where I can do so, I can only set conditions for questions, and not for subquestions. 
Thanks a lot for your help !

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 months 3 days ago #244502 by Joffm
Replied by Joffm on topic Conditions on subquestions
Hi,
of course you can set conditions on subquestions
 

But in your case the buzzword is "array filter".
[url] manual.limesurvey.org/Question_type_-_Mu...r_.28array_filter.29 [/url]
Set the array dilter of Q2 on Q1. Remenber: Identical codes".
Read the manual about question types.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: fmerken

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 months 3 days ago - 10 months 3 days ago #244504 by holch
Replied by holch on topic Conditions on subquestions
For these cases, it is always good to provide a little sample as LSS (not LSQ or LSG) so that we can have a look at your setup and play around with it and don't have to setup our own little survey replicating your case. Less work for us, quicker responses.

Usually you can set subquestion relevance, but you can also use the array filter.

[edit] Joffm, beat me to it...

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Last edit: 10 months 3 days ago by holch.
The following user(s) said Thank You: fmerken

Please Log in to join the conversation.

  • fmerken
  • fmerken's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 months 3 days ago #244511 by fmerken
Replied by fmerken on topic Conditions on subquestions
Huge thank you holch and Joffm for your help. I tried the Array filter and... it worked just fine ! I'll make sure to add the LSS file if I have another question.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose