I am creating a new survey.
It is a multiple numeric entry : each person answers with numbers on the subquestions, and the total has to be 30.
My question : is it possible to limit the total number of each subquestion
Ex : Marie is answering the survey as follows :
Subquestion 1 : 10
Subquestion 2 : 20
Subquestion 3 : 0
Total of Marie's choices : 30
--> is it possible to limit the number on Subquestion 2, for example:
Subquestion 2 is limited to 40 in total
Jim answered 30 to subquestion 2
When Marie wants to answer 20 to subquestion 2, she gets an error message : "only 10 is left for subquestion 2 !"
I hope this is clear, let me know !
Last edit: 9 years 1 month ago by mblaise. Reason: didn't finish my message !
Project : put this in a future version (with a clean system to add it via plugins).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
<span class="{if('[Q.nb.A1]'<10,'hidden','')}"> Answer for A1</span>[code]
[code]$("#question{QID} .hidden").each(function(){
$(this).closest('.answer-item').remove();
});
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.