- Posts: 18
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Show only answer option and those before based on previous answer selected
- JasonZA
- Topic Author
- Offline
- New Member
Less
More
2 months 6 days ago #256794
by JasonZA
Show only answer option and those before based on previous answer selected was created by JasonZA
Please help us help you and fill where relevant:
Your LimeSurvey version: url=https://ms2.bmi.co.za/index.php?r=questionAdministration/view&surveyid=333258&gid=41&qid=761#modalSystemInformation]5.6.36+230830[/url
Own server
Survey theme/template: shop_tfr-cfo6hh
==================
Good day. I have a List (radio) question named Q2 and it has the following answer options:
Q2:
Is this possible? Any assistance will be much appreciated.
Kind Regards,
Jason
Your LimeSurvey version: url=https://ms2.bmi.co.za/index.php?r=questionAdministration/view&surveyid=333258&gid=41&qid=761#modalSystemInformation]5.6.36+230830[/url
Own server
Survey theme/template: shop_tfr-cfo6hh
==================
Good day. I have a List (radio) question named Q2 and it has the following answer options:
Q2:
- Less than 3 months
- 3 – 6 months
- 7 – 12 months
- 1 – 2 years
- 3 – 5 years
- 6 – 10 years
- More than 10 years
Is this possible? Any assistance will be much appreciated.
Kind Regards,
Jason
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
2 months 6 days ago - 2 months 6 days ago #256799
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Show only answer option and those before based on previous answer selected
Hi,
there is no condition on answer options.
Therefore you have to use the often described workaround.
.Create a (hidden) multiple question (HM)
Create a (hiddden) question of type equation (eqHM) where you preset the subquestions of the multiple question.
Use the multiple question as array filter of Q4.
Like:
{Q4_1="Y"}
{Q4_2=if(Q2>1,"Y","")}
{Q4_3=if(Q2>2,"Y","")}
...
Here I used numerical codes and answer options.
Better you send the lss export of these relevant questions.
Joffm
there is no condition on answer options.
Therefore you have to use the often described workaround.
.Create a (hidden) multiple question (HM)
Create a (hiddden) question of type equation (eqHM) where you preset the subquestions of the multiple question.
Use the multiple question as array filter of Q4.
Like:
{Q4_1="Y"}
{Q4_2=if(Q2>1,"Y","")}
{Q4_3=if(Q2>2,"Y","")}
...
Here I used numerical codes and answer options.
Better you send the lss export of these relevant questions.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 months 6 days ago by Joffm.
Please Log in to join the conversation.
- JasonZA
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
2 months 6 days ago #256820
by JasonZA
Replied by JasonZA on topic Show only answer option and those before based on previous answer selected
Thanks a lot for your assistance, @Joffm.
I have attached the lss file as requested. It pertains to Q2 and Q5.
Kind Regards,
Jason
I have attached the lss file as requested. It pertains to Q2 and Q5.
Kind Regards,
Jason
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12940
- Thank you received: 3979
2 months 6 days ago #256833
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Show only answer option and those before based on previous answer selected
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- JasonZA
- Topic Author
- Offline
- New Member
Less
More
- Posts: 18
- Thank you received: 0
2 months 6 days ago #256858
by JasonZA
Replied by JasonZA on topic Show only answer option and those before based on previous answer selected
Please Log in to join the conversation.