Welcome to the LimeSurvey Community Forum

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

Condition based on whether "Other" selected in previous multiple choice

More
7 years 9 months ago #161296 by blocka
My Scenario:

Question1 is multiple choice, with "other" enabled.

I want to show Question 2 only if "Other" is selected.

But when I go to Condition manager, I don't see the answer option "Other" as an item to set a rule against.

What should I do?
The topic has been locked.
More
7 years 9 months ago #161304 by Joffm
Hello, Blocka,

Set the relevance of Question 2 to "!is_empty(Q1_other)"


Best regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
More
7 years 9 months ago #161318 by blocka
Thanks, I tried this, but it didn't work. I've attached my LSS in case I've done something wrong.

File Attachment:

File Name: survey_652...2-05.lss
File Size:15.09 KB
The topic has been locked.
More
7 years 9 months ago #161328 by Joffm
Strange, works perfectly.




Did you test with default template?

Regards
Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
More
7 years 6 months ago #164866 by blocka
I realized issue was that I hadn't typed anything into the text box...

But let's say I didn't enter any text into the text box, and I wanted to test the condition based on just the checkbox being selected beside other -- how can I do that?
The topic has been locked.
More
7 years 6 months ago #164869 by tpartner
I'm confused - you are talking about multiple-choices with checkboxes but your sample survey is a list-radio type question.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose