- Posts: 136
- Thank you received: 4
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array multiple selection imit.
- surveySn
- Topic Author
- Offline
- Premium Member
Less
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?
3.15.8 (190130)
I want to choose only three options per line.
Can it be achieved?
3.15.8 (190130)
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12779
- Thank you received: 3940
5 years 1 month ago - 5 years 1 month ago #179941
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
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
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
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 136
- Thank you received: 4
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
A total of 20 rows.
HTTP 500 appears on each click
The topic has been locked.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12779
- Thank you received: 3940
5 years 1 month ago - 5 years 1 month ago #180047
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
(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.