- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
only one question should be answered in a question group
- amendes
- Topic Author
- Offline
- New Member
Less
More
7 years 4 months ago - 7 years 4 months ago #144385
by amendes
only one question should be answered in a question group was created by amendes
Hi guys & gals,
I Have a group of questions, and tried to use a validation expression on all Questions B1, B2 & B3: on this group that has 3 long text questions, and i'm having some trouble. questions are not obligatory on creation, but from the three, at least one must be answred or it defeats the purpose of the Questionary.
I Have a group of questions, and tried to use a validation expression on all Questions B1, B2 & B3: on this group that has 3 long text questions, and i'm having some trouble. questions are not obligatory on creation, but from the three, at least one must be answred or it defeats the purpose of the Questionary.
Last edit: 7 years 4 months ago by amendes.
The topic has been locked.
- amendes
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 4 months ago #144430
by amendes
Replied by amendes on topic only one question should be answered in a question group
hi again guys,
maybe i explained myself badly.
I have a group, that has 3 long text type of questions. All are non-obligatory to be answered.
But I have the intention of not really let the insert to the DB be done when none of the 3 questions are answered by the users. How can i make this happen in all the diferent implementations possible? In the end, i want to discard useless submissions.
maybe i explained myself badly.
I have a group, that has 3 long text type of questions. All are non-obligatory to be answered.
But I have the intention of not really let the insert to the DB be done when none of the 3 questions are answered by the users. How can i make this happen in all the diferent implementations possible? In the end, i want to discard useless submissions.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
7 years 4 months ago #144467
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic only one question should be answered in a question group
You could place something like this in the ""
Whole question validation equation
" field for all questions:
Code:
!is_empty(B1) OR !is_empty(B2) OR !is_empty(B3)
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: amendes
The topic has been locked.
- amendes
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
7 years 3 months ago #144738
by amendes
Replied by amendes on topic only one question should be answered in a question group
missed in the manual reading. thanks for the insight.tpartner wrote: You could place something like this in the "" Whole question validation equation " field for all questions:
Code:!is_empty(B1) OR !is_empty(B2) OR !is_empty(B3)
The topic has been locked.