- Posts: 62
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
How to apply Filter On Single choice Question
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
1 month 3 weeks ago #259147
by rajkumar_dms
How to apply Filter On Single choice Question was created by rajkumar_dms
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.4
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello Team,
I have mutiple choice(Q1) Question having Option A,B,C,D and 2 single choice(Q2,Q3) question having same option
Only the selected option will be shown in Q2 & Q3 and on more will apply on Q3,Q2 option will be not shown in the Q3
if selected A B D in Q1 these option will be shown in Q2 then if selected D Q2,for Q3 it will be only A B Not D
i hope you understand my requirement
Your LimeSurvey version: 6.4
Own server or LimeSurvey hosting:
Survey theme/template:
==================
Hello Team,
I have mutiple choice(Q1) Question having Option A,B,C,D and 2 single choice(Q2,Q3) question having same option
Only the selected option will be shown in Q2 & Q3 and on more will apply on Q3,Q2 option will be not shown in the Q3
if selected A B D in Q1 these option will be shown in Q2 then if selected D Q2,for Q3 it will be only A B Not D
i hope you understand my requirement
Please Log in to join the conversation.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 13060
- Thank you received: 4021
1 month 3 weeks ago #259152
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How to apply Filter On Single choice Question
Hi,
for the the first "multiple" -> "single" you use simple array filter
for the the second you have to insert a hidden multiple (HM), preset it with an equation and use as array filter for Q3
Like this
{HM_1=if(Q1_1=="Y" and Q2!=1,"Y","")}
{HM_2=if(Q1_2=="Y" and Q2!=2,"Y","")}
{HM_3=if(Q1_3=="Y" and Q2!,"Y","")}
{HM_4=if(Q1_4=="Y" and Q2!=4,"Y","")}
Only a short answer.
This procedure is explained very many times here.
Joffm
for the the first "multiple" -> "single" you use simple array filter
for the the second you have to insert a hidden multiple (HM), preset it with an equation and use as array filter for Q3
Like this
{HM_1=if(Q1_1=="Y" and Q2!=1,"Y","")}
{HM_2=if(Q1_2=="Y" and Q2!=2,"Y","")}
{HM_3=if(Q1_3=="Y" and Q2!,"Y","")}
{HM_4=if(Q1_4=="Y" and Q2!=4,"Y","")}
Only a short answer.
This procedure is explained very many times here.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- rajkumar_dms
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 62
- Thank you received: 0
1 month 3 weeks ago #259159
by rajkumar_dms
Replied by rajkumar_dms on topic How to apply Filter On Single choice Question
Hi Joffm,
Thanks for reply
It's working perfectly
Thank you
Thanks for reply
It's working perfectly
Thank you
Please Log in to join the conversation.