Welcome to the LimeSurvey Community Forum

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

Array multiple selection imit.

More
6 years 6 months ago #179939 by surveySn
Array multiple selection



I want to choose only three options per line.



Can it be achieved?


File Attachment:

File Name: limesurvey...4867.lss
File Size:22.51 KB

3.15.8 (190130)
The topic has been locked.
More
6 years 6 months ago - 6 years 6 months ago #179941 by Joffm
Hi,
why didn't you use an array(numbers) with checkbox-display?

Then you enter in subquestion relevance equation:
(count(self.sq_SQ001)<4) AND
(count(self.sq_SQ002)<4) AND
(count(self.sq_SQ003)<4) AND
(count(self.sq_SQ004)<4) AND
(count(self.sq_SQ005)<4)

And add a useful tip like:
{if(((count(self.sq_SQ001)>3) OR
(count(self.sq_SQ002)>3) OR
(count(self.sq_SQ003)>3) OR
(count(self.sq_SQ004)>3) OR
(count(self.sq_SQ005)>3)),"Please enter only 3 per row","")}

That's all

Joffm

File Attachment:

File Name: limesurvey...4867.lss
File Size:22.36 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 6 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
6 years 6 months ago #180008 by surveySn
How do you implement three choices per column?

A total of 20 rows.

HTTP 500 appears on each click
The topic has been locked.
More
6 years 6 months ago - 6 years 6 months ago #180047 by Joffm
Well, you do it analogue to rows:

(count(self.sq_SX001)<4) AND
(count(self.sq_SX002)<4) AND
(count(self.sq_SX003)<4) AND
(count(self.sq_SX004)<4) AND
(count(self.sq_SX005)<4) AND
(count(self.sq_SX006)<4) AND
(count(self.sq_SX007)<4) AND
(count(self.sq_SX008)<4) AND
(count(self.sq_SX009)<4) AND
(count(self.sq_SX010)<4)

with SX001 - SX010 the X-Scale subquestions





Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 6 months ago by Joffm.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose