Welcome to the LimeSurvey Community Forum

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

In an array question he answers should ad up to 100%

  • djct40
  • djct40's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
6 years 4 months ago #161325 by djct40
In an array question in each item a percentage is chosen
all the items schould ad up to 100%

example
`1how much time you spend on x range 0 to 100
2 How much time you spend on y range 0 to 100
3 how much time you spend on Z range 0 to 100

total of 1/2/3 should be 100 not more not less.

if not a message should be displayed and no further action possible till the ansers match up to 100.

I think its a solution to use assesment values in the array questions and make a formula in the next Q
But how /wich formula?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 years 4 months ago #161329 by Joffm
Hi,

first: Do you really use an array question? array(numbers) with just one column?

Or do you use a question of type "multiple numerical input"? (maybe with sliders)

But nevertheless:
Do a question validation (in "Advanced Settings"). In the shown case "multiple numerical input":
sum(self)==100




Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: Waymann
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose