Welcome to the LimeSurvey Community Forum

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

Array questions not loading

  • PatZap
  • PatZap's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115010 by PatZap
Array questions not loading was created by PatZap
I have been unable to get normal array questions to work.

If I create a standard array (or number or text array) question with custom answer options I just get an empty screen. Changing the question type to Array 10/5 point choice or even array by column works fine. It appears to be a problem only with pages that should show the custom answers along the x axis

There are no conditions for the question. Viewing the source for the blank page shows:

<script type="text/javascript">
/*<![CDATA[*/
setJsVar();
/*]]>*/
</script>
<script type="text/javascript" src="/survey/third_party/jquery/jquery-1.11.1.min.js"></script>
<script type="text/javascript" src="/survey/third_party/jqueryui/js/jquery-ui-1.10.3.custom.min.js"></script>
<script type="text/javascript" src="/survey/third_party/jquery-touch-punch/jquery.ui.touch-punch.min.js"></script>
<script type="text/javascript" src="/survey/scripts/survey_runtime.js"></script>
<script type="text/javascript">
/*<![CDATA[*/
LSvar={"bFixNumAuto":1,"bNumRealValue":0,"sLEMradix":"."};
/*]]>*/
</script>

I can't find any other references to this issue in the forums. Any suggestions would be greatly appreciated.

Using Version 2.05+ Build 141126 with AMPPS for Mac
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 months ago - 9 years 3 months ago #115026 by tpartner
Replied by tpartner on topic Array questions not loading
What LS version?

I assume you have added sub-questions (y-axis). Can you attach a sample survey?


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 3 months ago by tpartner.
The topic has been locked.
  • PatZap
  • PatZap's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 3 months ago #115033 by PatZap
Replied by PatZap on topic Array questions not loading
Hi,

Thanks for the reply!
I'm using Version 2.05+ Build 141126 (It is hidden at the bottom of my post)

Yes I have sub-questions. Just switching the question type to a 5 point answer works perfectly.

I've attached a one question survey that is not working for me.

Many thanks
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 3 months ago #115037 by tpartner
Replied by tpartner on topic Array questions not loading
Hmm...that works fine for me.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 3 months ago #115061 by Mazi
Replied by Mazi on topic Array questions not loading
..so the problem only shows up when trying to save the custom answer options?

Can you attach the server's error log?

Does it work fine when using our demo at demo.limesurvey.org/admin ?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
9 years 2 months ago #115934 by DrTodd
Replied by DrTodd on topic Array questions not loading
Hi PatZap!

Were you ever able to get the Array questions to work? I am having a similar problem where I cannot get the subquestions or labels to show.

If you have any tips, I would appreciate it.

Peace.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago #115940 by tpartner
Replied by tpartner on topic Array questions not loading
Have you tried with the latest version and default template (or on the demo site)? If so, can you attach a sample survey?

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: DrTodd
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago #115941 by holch
Replied by holch on topic Array questions not loading
Tpartner, he is on Limeservice (saw that in another question), so I assume it is the lastest version. I have sent him to the Limeservice support.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DrTodd
The topic has been locked.
More
9 years 2 months ago - 9 years 2 months ago #115942 by DrTodd
Replied by DrTodd on topic Array questions not loading
Hi Tony,

Thanks for the response. I am using the latest version, the default template, and the install and hosting are at LimeService. I did upload my survey to the demo site to see if that made any difference, but it did not. The arrays still didn't work.

Interestingly, about an hour after I submitted a support ticket to LimeSurvey, the original array question that I couldn't get to work mysteriously began to work. However, subsequent array questions that I set up using the same settings do not work. This is a bit befuddling. Here are the settings I am using:

Code: RSAT01
Question: Please select the option below
Question type: Array
Question Group: Relationship Satisfaction 1
Mandatory: Yes
Relevance equation: 1

ADVANCED SETTINGS
Repeat headers:
Hide tip: Yes
(Sub-)question width:
Random order: Off
Always hide this question: No
Use dropdown presentation: No
Relevance help for printable survey:

Each of the array questions use predefined label sets for the options, have approximately 20 subquestions, and are the only question within a group (for display purposes).

In the attachments below, I have included screenshots of the following:
1 - my question set
2 - my label set
3 - my question settings
4 - the preview result

I very much appreciate your thoughts.
Last edit: 9 years 2 months ago by DrTodd.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 2 months ago #115943 by Mazi
Replied by Mazi on topic Array questions not loading
Can you please attach your current survey for testing?

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
More
9 years 2 months ago #115944 by DrTodd
Replied by DrTodd on topic Array questions not loading
Hi Mazi,

Thanks for your response. I have attached my survey file.

I appreciate your help.

Todd
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
9 years 2 months ago #115945 by Mazi
Replied by Mazi on topic Array questions not loading
Weird error. Try deleting the question and group and set it up again.

Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose