Welcome to the LimeSurvey Community Forum

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

Array multiple selection imit.

  • surveySn
  • surveySn's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 1 month ago #179939 by surveySn
Array multiple selection imit. was created 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:23 KB

3.15.8 (190130)
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month ago #179941 by Joffm
Replied by Joffm on topic Array multiple selection imit.
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 KB

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 5 years 1 month ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • surveySn
  • surveySn's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
5 years 1 month ago #180008 by surveySn
Replied by surveySn on topic Array multiple selection imit.
How do you implement three choices per column?

A total of 20 rows.

HTTP 500 appears on each click
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 1 month ago - 5 years 1 month ago #180047 by Joffm
Replied by Joffm on topic Array multiple selection imit.
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: 5 years 1 month ago by Joffm.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose