Disable some Radio answers based on previous question

More
3 months 1 week ago #175044 by blocka
blocka created the topic: Disable some Radio answers based on previous question
I have two radio type questions:

Question 1 has 3 options:

A1) Government
A2) Non-Profit
A3) Private sector

Question 2 has 3 options -- along with my need to enable or disable that answer:

a) Answer option 1 (enable this option if respondent selected answer 1 in Question 1)
b) Answer option 2 (disable this answer option if respondent selected answer 1 in in Question 1)
c) Answer option 3 (enable this option if respondent selected answer 1 in in Question 1)

Since there is no relevance equation on radio types answers, how can I disable the required answers in Question 2 based on the response to Question 1?

LS Version : 2.73.1, Build 171220

Please Log in or Create an account to join the conversation.

More
3 months 1 week ago #175063 by tpartner
tpartner replied the topic: Disable some Radio answers based on previous question
The simplest solution wold be to use several versions of Q2 hidden/shown via relevance.

Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago - 2 months 3 weeks ago #175740 by KompetenzZ
KompetenzZ replied the topic: Disable some Radio answers based on previous question
Hi,

is there possibility to keep the question in only one version (in blocka's case Q2) and still disable some answer options? I thought doing something in "Edit answer options" of a List (Radio) question?
This would be better for the analysis of the survey results, only having one question instead of several.

Cheers kompetenzz
Last Edit: 2 months 3 weeks ago by KompetenzZ.

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago #175748 by Joffm
Joffm replied the topic: Disable some Radio answers based on previous question
Hi,
it's always the same procedure.
Between the two single question (Q1, Q2) insert a
multiple question with the same answer options as question 2 (hidden)
an equation (hidden)
In the equation set the subquestions of the multiple to "yes" or blank, as desired.

Then use this multiple question as array filter of Q2

Well, you did not say, what is to happen if the answer in Q1 is "2" or "3".
So in this small example I only set the second option of Q2.

File Attachment:

File Name: limesurvey...5237.lss
File Size:20 KB


Best regards
Joffm








Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

More
2 months 3 weeks ago - 2 months 3 weeks ago #175851 by KompetenzZ
KompetenzZ replied the topic: Disable some Radio answers based on previous question
HI,

thank you very much for your answer. I had much difficulties to recreate your example until I noticed that your example only works when I choose in the general settings "Format: Question by question". When I choose "Format: Group by group" it doesn't work. Could it be that it only works when you select "Format: Question by question"?
Is there a way to programme it in such a way that it works also for "Format: Group by group"?

But maybe something else is the problem, here is my example (.lss file).

The problem is that my answer options of the of the last questions doesn't show up, see screenshot.


File Attachment:

File Name: limesurvey...5532.lss
File Size:22 KB

Cheers kompetenzz
Attachments:
Last Edit: 2 months 3 weeks ago by KompetenzZ.

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!