- Posts: 15
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Can I require a number of questions to be answered?
- MaloF
- Topic Author
- Offline
- New Member
Less
More
6 years 6 months ago #159258
by MaloF
Can I require a number of questions to be answered? was created by MaloF
It is possible to set mandatory questions.
I'm wondering if it is possible to require that a certain percentage, let's say 50%, of questions of the current group to be answered. (not matter which questions are answered)
Thanks
I'm wondering if it is possible to require that a certain percentage, let's say 50%, of questions of the current group to be answered. (not matter which questions are answered)
Thanks
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
6 years 6 months ago #159261
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 Can I require a number of questions to be answered?
No, not without JavaScript manipulation and that would depend on the question types.
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: MaloF
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 6 months ago - 6 years 6 months ago #159280
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I require a number of questions to be answered?
I think you can use a Short text question type. And for example , if you have 6 question Q1 to Q6, set
manual.limesurvey.org/Question_type_-_Sh...28em_validation_q.29
to
Set the tip : you must answer to more than 3 question in this group, and create a class for example 'hidden-answer' to hide the answer part of this question.
Or maybe better : "show-only-tip" where you can hide whole but shown only the tip.
PS : related feature request : bugs.limesurvey.org/view.php?id=8885
manual.limesurvey.org/Question_type_-_Sh...28em_validation_q.29
to
Code:
count(Q1.NAOK,Q2.NAOK,Q3.NAOK,Q4.NAOK,Q5.NAOK,Q6.NAOK)>3
Set the tip : you must answer to more than 3 question in this group, and create a class for example 'hidden-answer' to hide the answer part of this question.
Or maybe better : "show-only-tip" where you can hide whole but shown only the tip.
PS : related feature request : bugs.limesurvey.org/view.php?id=8885
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 6 years 6 months ago by DenisChenu.
The following user(s) said Thank You: MaloF
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
6 years 6 months ago #159291
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 Can I require a number of questions to be answered?
@DenisChenu, yes, that's a valid workaround.
However, I find that my customers prefer to have the "Next" button disabled (with a warning element) until the required question(s) are completed.
This, of course, requires a little JS that could be circumvented, but they are aware of that risk and opt for it anyway. In the 7-8 years I have used this type of workaround, I have not had any reports of "cheating".
However, I find that my customers prefer to have the "Next" button disabled (with a warning element) until the required question(s) are completed.
This, of course, requires a little JS that could be circumvented, but they are aware of that risk and opt for it anyway. In the 7-8 years I have used this type of workaround, I have not had any reports of "cheating".
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: MaloF
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 6 months ago #159293
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I require a number of questions to be answered?
I like to do the 2 part :
- Expression Manager : diable system in PHP too : no way to submit invalid survey
- Javascript : better and speediest way to show it at user
- Expression Manager : diable system in PHP too : no way to submit invalid survey
- Javascript : better and speediest way to show it at user
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: MaloF
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10099
- Thank you received: 3589
6 years 6 months ago #159300
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 Can I require a number of questions to be answered?
Even better.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13597
- Thank you received: 2487
6 years 6 months ago #159307
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Can I require a number of questions to be answered?
(in fact : i do the EM and search on LimeSurvey forum post from tpartner for the javascript workaround )
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.