validation group of questions

More
3 years 6 months ago #101775 by luker
luker created the topic: validation group of questions
Hello,

I have 4 numerical questions, then I need to validate all the answers together. It means sum of values across those questions should not exceed the limit. I have created equation when the sum is calculated, but don't know how to validate the calculation - i.e. how to allow enter next page only when sum is below the limit?
Do you have any hints in that?

Thanks in advance for any tips.

Luker

Please Log in to join the conversation.

More
3 years 6 months ago #101777 by holch
holch replied the topic: validation group of questions
If you use multiple numerical question, you have the option to set a maximum value in the advanced option.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
3 years 6 months ago #101794 by luker
luker replied the topic: validation group of questions
Right, but maximum value referring to one question, while I have asked about maximum of the total sum of 4 questions.
Anyway thanks :)

It seems I have found the answer. I have used another question within the group for which I could set validation condition (it was "Multiple choice" in my case) then I have put validation condition checks if sum calculated for all 4 numerical questions is below the limit.

Ps. Don't know why this post is in "Installation & update issues" forum (probably my fault) instead of "Can I do this with LimeSurvey?" if admin could move the topic would be good. Thanks.

Please Log in to join the conversation.

More
3 years 6 months ago #101798 by holch
holch replied the topic: validation group of questions
Well, sometimes you can change from 4 different numerical questions to the multiple numerical question format (which in reality can be 4 different numerical questions in one) without a problem and there things are quite easy, because by default you can check the sum of all responses in the multiple numerical question. Of course I understand that sometimes you can't use this format, whatever reason.

But seems like you found a solution. I am currently just not sure how your problem could be solved with a multiple choice question.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now