- Posts: 12916
- Thank you received: 3975
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
array column multiple choice create?
- Joffm
- Away
- LimeSurvey Community Team
Less
More
3 years 3 months ago - 3 years 3 months ago #210319
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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.
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?
This is the usual behaviour of a bootstrap grid.
If you want to achieve this, you have to restructure your question.should be
if @media<760px
What do you play during the day?
switch
ps5
xbox
What do you play at night
switch
ps5
xbox
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
Attachments:
Last edit: 3 years 3 months ago by Joffm.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13637
- Thank you received: 2491
3 years 3 months ago #210340
by DenisChenu
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.
Replied by DenisChenu on topic array column multiple choice create?
If i have a great solutuion : i make it when i review whole HTML codeliumingjun wrote: Yes, that's it, all come to the forum for help, are there any other solutions?
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
3 years 3 months ago #210342
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 17
- Thank you received: 1
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12916
- Thank you received: 3975
3 years 3 months ago #210382
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
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
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
3 years 3 months ago #210387
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic array column multiple choice create?
Yeah, this thread seems to be a bit of a moving target.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
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.