Welcome to the LimeSurvey Community Forum

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

I need help reporting on a survey with large numbers of answers in an array

More
5 years 6 months ago #194206 by holch
My question regarding the "export" was about how you export the results.

Let's get this clear and straight to understand where your problem is:
- you have a list of people that can be chosen, split up into various questions
- when you export the results of the survey, they are empty?
- but you can see the answers in the response table only, just not in the exported CSV file, correct?
- You use Version 4.0.1+200120, which is basically the second update after the release of a very fresh Limesurvey.

There is a good chance that your version has a bug when exporting results and this is fixed in a newer version. The most current version is 4.1.5, so it looks like there has been a lot of updates in the last month.

But first let us clarify that you are not doing something wrong when exporting. In any way, an update is recommended. LS is know for some hickups after the release, because not enough people test the release candidates, so the stable releases often still have some bugs that need to be ironed out.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
5 years 6 months ago #194208 by holch
Whenever I try to import your survey, I am getting this error message from LS:



So either there is a problem with the LSS file or, which is my suspicion, the amount of answer options is too much for importing into my installation (probably some PHP limit, the size is fine, that is not the problem).

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
5 years 6 months ago #194209 by wstone
Thanks for the info. I'm going to do a fresh install on a VM and see what I get using the new version.

As for importing it I see now what was causing that. I had to change an option in my php.ini file to import so many answers. max_input_vars = 15000
The topic has been locked.
More
5 years 6 months ago #194213 by Joffm
I imported into 4.1.4.
And here are my six sophomores.


So it really seems to be a release problem.
Update and try again.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: wstone
The topic has been locked.
More
5 years 6 months ago #194214 by wstone
Looks like your're right it works fine in my vm. Thanks for the help I really appreciate it.
The topic has been locked.
More
5 years 6 months ago #194274 by holch

As for importing it I see now what was causing that. I had to change an option in my php.ini file to import so many answers. max_input_vars = 15000


Oh, OK, I thought my max_input_vars was reasonably high. But I am sure it is not at 15000. ;-)

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
5 years 6 months ago #194281 by Joffm
I saw that there is "max_input_vars=40000" in my php installation.

On the other side, I am not sure if this design is the best.
Now I have to scroll through 600 names to find one though they are in alphabetic order..

In my opinion a text question with autocomplete option would be better. (reduces the size of answer options)


Or drop-downs with select2package. (easier finding)


Just to consider.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: wstone
The topic has been locked.
More
5 years 6 months ago #194294 by tpartner

In my opinion a text question with autocomplete option would be better. (reduces the size of answer options)
Or drop-downs with select2package. (easier finding)

A couple of custom question themes:

- github.com/tpartner/LimeSurvey-Searchable-Dropdown
- github.com/tpartner/LimeSurvey-Multiple-Choice-Dropdown

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu, wstone
The topic has been locked.
More
5 years 6 months ago #194300 by holch
Ohhh, those are two very good ones! Nice, Tony! I'll have to try them.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
More
5 years 6 months ago #194312 by wstone
Those are great options thanks alot. I'll be using that next time.
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose