I have an array style question with 3 rows and 4 columns (see attached). Ideally, what I want is for the respondent to be able to select any combination, as long as the total doesn't exceed 100%.
If I can't do it with this question type (which currently is just type = Array), I'm open to alternatives, as long as I can prevent the user from selecting an amount that is greater than 100%.
For example : using assessment (activate assessments)
- Set value for each answer : 25/50/75/100
- set em_validation_q to sum(self.NAOK) <=100
- you can put in the 'tip' : actual total are {sum(self.NAOK)}
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.
I think the ideal questiontype for this kind of question would be the multiple numeric, which already allows the calculation of the 100% per default. Of course this won't work if you need exactly these steps of %.
Or of course the slider layout that Denis is recommending.
Help us to help you!
Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The Multiple Numerical input using slider seems like an attractive solution. Is there a way to get the slider to step in increments like 0, 25, 50, 100? Instead of just limiting to integer?