Welcome to the LimeSurvey Community Forum

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

Array number type with 24 columns

  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 11 months ago #199319 by nicolae_stan93
Array number type with 24 columns was created by nicolae_stan93
Hello everyone,

I need for a business survey with around 20 rows and 24 columns to be displayed.But I encounter the issue with the text of column having a lot of text to insert the width of columns is to small.I atached an example.



Does exist any way to change that width of column for array number ? An lss example would help me a lot.
Thank you.
The topic has been locked.
  • tammo
  • tammo's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
3 years 11 months ago #199322 by tammo
Replied by tammo on topic Array number type with 24 columns
Do you foresee that people will want to fill in your questionnaire via tablets or mobile phone?

In that case this approach will need some extra attention.

Tammo ter Hark


Tammo ter Hark at Respondage
For Limesurvey reporting, education and customized themes
respondage.nl
The topic has been locked.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 11 months ago #199333 by nicolae_stan93
Replied by nicolae_stan93 on topic Array number type with 24 columns
No, the survey will only be used on PCs, laptops. I forgot to say that I tried (Sub-)question width with all kind of values but it didn't work.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199451 by Joffm
Replied by Joffm on topic Array number type with 24 columns
Hi,

1. We won't buy you a wider screen.

2. Revise your survey design.

3. You may overwrite the media-query of the survey container
@media (min-width: 992px)
.container {
width: 970px; // set to 1570px or 1900px or whatever
}

4. Revise your survey design.

5. You may think of displaying the text vertically
forums.limesurvey.org/forum/design-issue...ext-direction#181379

6. Revise your survey design.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 11 months ago #199452 by DenisChenu
Replied by DenisChenu on topic Array number type with 24 columns
You can remove the container in theme option, then survey take whole screen


Other point are valid ;)

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.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #199513 by nicolae_stan93
Replied by nicolae_stan93 on topic Array number type with 24 columns
Thanks a lot. It works with container from theme section. Also other suggestion regarding business design I will think.
Thank you again guys.

Another issue that I have is that I can't save the validation like here:


forums.limesurvey.org/forum/design-issue...ray-number-structure

Should I change max_input_vars in php.ini. Here I had 22 lines but I switch now to have 22 columns and 10 lines and I think is because of the same issue with max_input_vars.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199517 by Joffm
Replied by Joffm on topic Array number type with 24 columns
What's the actual value of max_input_vars?

So I would just try.
That's what I did when I answered your other question.

Joffm

Seeing your screenshot:
Do you really think this is an improvement?
To be honest, I wouldn't answer this.
You probably can split this question row-wise (several questions "multiple numerical input").
You gain a lot of readability. And the validation - in case it is row-wise - is built in.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199520 by DenisChenu
Replied by DenisChenu on topic Array number type with 24 columns
Maybe we need a option to show big array like responsive-array ?


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.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #199522 by nicolae_stan93
Replied by nicolae_stan93 on topic Array number type with 24 columns
max_input_vars =1000. I split in 2 the question as you said. I think is better this way.

Thank for suggestion
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199530 by DenisChenu
Replied by DenisChenu on topic Array number type with 24 columns
max_input_vars =1000 is low for 24 columns and more than 10 lines …

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.
  • nicolae_stan93
  • nicolae_stan93's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 10 months ago #199646 by nicolae_stan93
Replied by nicolae_stan93 on topic Array number type with 24 columns
Hi,

Is there any option if a put 0 for column 1 line 1 on that row to automatically make it 0 or some

particularly fields on that row?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #199653 by Joffm
Replied by Joffm on topic Array number type with 24 columns
Use an equation to set, like

{Q1_Y001_X001=1}
{Q1_Y001_X002=1}
{Q1_Y001_X003=1}
...

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose