Welcome to the LimeSurvey Community Forum

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

Order of sub questions from previous question

  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172378 by CarolinEkman
Order of sub questions from previous question was created by CarolinEkman
Hi,
I am very new to LimeSurvey so excuse me if this appears to be a silly question. I've spent some time now trying to do the following:

I have two questions of the type Array (number), with check boxes

- First question Q1 (ID 5295): I have enabled "randomise order on each page load"
- Second question Q2 (ID 5296): I want the sub questions to appear in the same order as whatever the order is in Q1.

I tried using the option "get order from previous question". I tried entering "Q1", and I tried entering "5295".
But both these options result in that I see NO sub questions at all in Q2.

Questions:
- What should I enter in the field "get order from previous question" in Q2?
- In Q2, should I select the option "randomize order on each page load" or not?

Many thanks!
Carolin
The topic has been locked.
More
5 years 7 months ago #172380 by jelo
Please export your survey and attach it here. And tell us what version of LimeSurvey you use.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172385 by CarolinEkman
Replied by CarolinEkman on topic Order of sub questions from previous question
Thank you very much for your quick response! I am using version 2.06+

File Attachment:

File Name: limesurvey...7545.lss
File Size:237 KB

File Attachment:

File Name: limesurvey...7545.lss
File Size:237 KB


I have attached the survey.

In my first message I had used some example names of my questions. The codes I have actually given to the questions are as follows:

- First question c2test (ID 206396): I have enabled "randomise order on each page load"
- Second question F (ID 205295): I want the sub questions to appear in the same order as whatever the order is in "c2test".
The topic has been locked.
More
5 years 7 months ago #172394 by jelo

CarolinEkman wrote: Questions:
- What should I enter in the field "get order from previous question" in Q2?
- In Q2, should I select the option "randomize order on each page load" or not?


1.) You need to enter "c2test" into the field "Get order from previous question" of question F.
2.) You NOT activate the option "randomize order on each page load" in question F.


The subquestion codes in both question need to be the same. Same amount of questions.
If it is isn't working there might be a bug inside LimeSurvey. We will see.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172440 by CarolinEkman
Replied by CarolinEkman on topic Order of sub questions from previous question
Hi,
Thanks a lot for your advice. I followed your 2 points.

Indeed, the codes of the sub questions differered, I changed them to be the same for both questions (SQ001 - SQ010). However, it still doesnt work. (I see no sub questions on the Y axis at all).

Carolin
The topic has been locked.
More
5 years 7 months ago #172451 by jelo
Attach an Update of the survey or of just these two questions.
You might upload the survey to demo.limesurvey.org to check if it is working with LS 3.

It is still possible that there is an error in the surveyfile. Currently it sounds more like a bug in LS.
What build of LS 2.06 is used?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172510 by CarolinEkman
Replied by CarolinEkman on topic Order of sub questions from previous question
I attached a new export of they survey.

I am using Version 2.06+ Build 151215

Thank you very much!
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 7 months ago #172521 by tpartner
Replied by tpartner on topic Order of sub questions from previous question
Please attach surveys containing only the questions relevant to this topic. The attached survey has 23 groups with 36 questions and we don't have time to go through all of that to test.

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: holch
The topic has been locked.
More
5 years 7 months ago #172539 by jelo
I was able to reproduce the issue under LimeSurvey Version 3.14.5.
"Get order from previous question" seems to be buggy.
But I will make some additional checks before submitting a bugreport.
If it is really a bug inside LS, you won't see a fix for your LimeSurvey installation.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
More
5 years 7 months ago #172546 by jelo
I have created a short demo and submitted a bugreport. Perhaps I still made a mistake to get it working. Feel free to check and comment for yourself.
bugs.limesurvey.org/view.php?id=13978

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172563 by CarolinEkman
Replied by CarolinEkman on topic Order of sub questions from previous question
Thank you so much @jelo, I really apreciate all your help!!!

Do I need to do something else from my side at this point? (Do I need to do something with the demo link you sent?) Or should I just wait to see what comes out of the bug report?

Many thanks!
Carolin
The topic has been locked.
  • CarolinEkman
  • CarolinEkman's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 7 months ago #172564 by CarolinEkman
Replied by CarolinEkman on topic Order of sub questions from previous question
Apologies!
Another member (Jelo) helped me by submitting a bug report, so I am waiting to hear back regarding this. At this point, should I still submitt this survey with only the relevant questions?
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose