Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Multiple answers w/comments adding up to previous answer

  • merpintos
  • merpintos's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 7 months ago #157620 by merpintos
Hi, there!
I'm an Offline Surveys user, and am trying to design a survey on Limesurvey. For one of the questions, a multiple answers with comments, I need for the comments to forcibly "add up" to an amount answered in the previous question.
Something like "how many kids do you have ---> 10"
Then, the next question, how many in each age group, should make the comments add up to 10, or the answer is not approved.
I'm sure it CAN be done... but I can't see how.

Would someone please help me?
THANKS!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 7 months ago - 6 years 7 months ago #157624 by tpartner
Use a Multiple Numerical Input type question and place the question code of the first question in the "Equals sum value" field (without curly braces).





Sample survey attached:

File Attachment:

File Name: limesurvey...8-15.lss
File Size:16 KB

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 6 years 7 months ago by tpartner.
The following user(s) said Thank You: merpintos
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose