- Posts: 14
- Thank you received: 0
- Forum
- English support forums
- Can I do this with LimeSurvey?
- Multiple short texts with an exclusive option
Multiple short texts with an exclusive option
2 years 5 months ago #141672
by srocky
Multiple short texts with an exclusive option was created by srocky
Hi there,
I have one quick (I hope) issue:
Is there a possibility to create a multiple short texts question and add checkbox 'I don't know any' on the bottom which would exclude all text fields?
Thanks in advance
I have one quick (I hope) issue:
Is there a possibility to create a multiple short texts question and add checkbox 'I don't know any' on the bottom which would exclude all text fields?
Thanks in advance
Please Log in or Create an account to join the conversation.
2 years 5 months ago #141673
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Multiple short texts with an exclusive option
A workaround is to create a multiple-choice question with one item "I don't know any of them above".
Place that question below your multiple short textquestions. Leave question free to put the question nearer to the textquestions.
If you have put the multiple short textquestions mandatory you can put a condition on the question.
If ""I don't know any of them above" it checked the question above will be hidden. That way you can ensure that the mandatory is only enforced when ""I don't know any of them above" is not checked.
A feature built into LimeSurvey to allow placing such confirmation items in the questions would be nice. But I cannot see it coming soon.
It's all about workarounds here.
Place that question below your multiple short textquestions. Leave question free to put the question nearer to the textquestions.
If you have put the multiple short textquestions mandatory you can put a condition on the question.
If ""I don't know any of them above" it checked the question above will be hidden. That way you can ensure that the mandatory is only enforced when ""I don't know any of them above" is not checked.
A feature built into LimeSurvey to allow placing such confirmation items in the questions would be nice. But I cannot see it coming soon.
It's all about workarounds here.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Please Log in or Create an account to join the conversation.
2 years 5 months ago #141675
by srocky
Replied by srocky on topic Multiple short texts with an exclusive option
jelo, thanks for your advice.
Could you please tell me how to set a condition which would hide short texts question while an exclusive option is checked? I've tried to set this condition, but LimeSurvey allows only build condition based on previous questions - if I place this multiple-choice question below then it is treated as next question, so I can't refer to it.
Thanks a lot
Could you please tell me how to set a condition which would hide short texts question while an exclusive option is checked? I've tried to set this condition, but LimeSurvey allows only build condition based on previous questions - if I place this multiple-choice question below then it is treated as next question, so I can't refer to it.
Thanks a lot
Please Log in or Create an account to join the conversation.
2 years 5 months ago - 2 years 5 months ago #141676
by jelo
manual.limesurvey.org/Expression_Manager...tion-Level_Relevance
The multiple shot text question has a field "relevance equation". In this field you need to place a equation which gets true when the item of next question is NOT checked. You might try "is_empty(questioncode_of_your_checkboxquestion)" or directly check the subquestion (see next Link to see the variables for relevance checks).
See the last column how relevance is used with certain questiontypes. It's a bit overwhelming at the beginning but give it a try.
manual.limesurvey.org/Expression_Manager#Qcode_Variable_Naming
Feel free to post a exported survey of these two questions. That might help to get the equation right.
Can you tell us, what version/build of LimeSurvey you use?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Multiple short texts with an exclusive option
You're right. Are you familiar with relevance fields in groups and questions?srocky wrote: I've tried to set this condition, but LimeSurvey allows only build condition based on previous questions - if I place this multiple-choice question below then it is treated as next question, so I can't refer to it.
manual.limesurvey.org/Expression_Manager...tion-Level_Relevance
The multiple shot text question has a field "relevance equation". In this field you need to place a equation which gets true when the item of next question is NOT checked. You might try "is_empty(questioncode_of_your_checkboxquestion)" or directly check the subquestion (see next Link to see the variables for relevance checks).
See the last column how relevance is used with certain questiontypes. It's a bit overwhelming at the beginning but give it a try.
manual.limesurvey.org/Expression_Manager#Qcode_Variable_Naming
Feel free to post a exported survey of these two questions. That might help to get the equation right.
Can you tell us, what version/build of LimeSurvey you use?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Last edit: 2 years 5 months ago by jelo.
The following user(s) said Thank You: srocky
Please Log in or Create an account to join the conversation.
2 years 5 months ago #141677
by srocky
Replied by srocky on topic Multiple short texts with an exclusive option
Thanks jelo - it works 
I've used 'relevance equation' as you said and this question disappeared. Many, many thanks!
I'm using version 2.50+ Build 160415 by the way.

I've used 'relevance equation' as you said and this question disappeared. Many, many thanks!
I'm using version 2.50+ Build 160415 by the way.
Please Log in or Create an account to join the conversation.