Welcome to the LimeSurvey Community Forum

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

Multiple values must add up to 100?

  • PaulMRFGR
  • PaulMRFGR's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago #194937 by PaulMRFGR
Multiple values must add up to 100? was created by PaulMRFGR
Hi there,

Hoping you can help me. We have a multiple numerical input survey question with 4 fields where we ask respondents to assign a numerical value to each field.

All four values must add up to 100 for them to proceed.

Is there anyway we can do this in LS? Ideally, the survey won't let them proceed unless all 4 values add up to 100.

Thank you.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194943 by Joffm
Replied by Joffm on topic Multiple values must add up to 100?
Hi,
use question validation in "Logic"

sum(self.NAOK)==100


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194945 by holch
Replied by holch on topic Multiple values must add up to 100?
This is even a standard feature for the multiple numerical input:

manual.limesurvey.org/Question_type_-_Mu...8equals_num_value.29

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #194949 by Joffm
Replied by Joffm on topic Multiple values must add up to 100?
Oh, sorry,

Obviously Alzheimer.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • PaulMRFGR
  • PaulMRFGR's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
4 years 1 month ago #194965 by PaulMRFGR
Replied by PaulMRFGR on topic Multiple values must add up to 100?
Thanks guys, really helpful as always!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose