Welcome to the LimeSurvey Community Forum

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

array column multiple choice create?

  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago - 3 years 3 months ago #210319 by Joffm
Replied by Joffm on topic array column multiple choice create?
Sorry, but I do not see your problem.
This is the usual behaviour of a bootstrap grid.

should be
if @media<760px
What do you play during the day?
switch
ps5
xbox
What do you play at night
switch
ps5
xbox

If you want to achieve this, you have to restructure your question.
Use a different question type. As tpartner suggested "a normal array".
I agree, with a lot of answer option the display on a dektop will be a bit messed up.
But on a smartphone?
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 3 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #210340 by DenisChenu
Replied by DenisChenu on topic array column multiple choice create?

liumingjun wrote: Yes, that's it, all come to the forum for help, are there any other solutions? 

If i have a great solutuion : i make it when i review whole HTML code ;)

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #210342 by Joffm
Replied by Joffm on topic array column multiple choice create?
And the "quick and dirty" solution is:
Insert a question to see if it is a mobile or not (or the screen size)
Have two questions,
a "normal" array for mobile
an "array by column" for desktop.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: DenisChenu, tpartner, liumingjun
The topic has been locked.
  • liumingjun
  • liumingjun's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 3 months ago - 3 years 3 months ago #210372 by liumingjun
Replied by liumingjun on topic array column multiple choice create?
This is a solution, but it will increase the difficulty of programming, and it will increase the problem of triggering more than the largest column of a single table eg: array texts  or array numbers (5(subquestion)*20(subquestion) * 10(question) *2 (pc or mobile )) 2000+ field,I try to develop with a custom themes question,thank you;)
Last edit: 3 years 3 months ago by liumingjun.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #210382 by Joffm
Replied by Joffm on topic array column multiple choice create?
Now you seem to be a bit confused in my opinion.
We were talking about the  - in your opinion - wrong display of an array by column on small devices.
And array by column is single punch. So the amount of database fields is only "number of subquestions".

We did not talk about anything else, like array(numbers) or  array(text). This is somerthing quite different.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 3 months ago #210387 by tpartner
Replied by tpartner on topic array column multiple choice create?

Joffm wrote: We were talking about the  - in your opinion - wrong display of an array by column on small devices.
And array by column is single punch. So the amount of database fields is only "number of subquestions".

We did not talk about anything else, like array(numbers) or  array(text). This is somerthing quite different.

Joffm

Yeah, this thread seems to be a bit of a moving target.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose