Welcome to the LimeSurvey Community Forum

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

Issue with reordering questions when survey has 300+ questions

  • eniisula
  • eniisula's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 2 months ago - 2 years 2 months ago #227579 by eniisula
Please help us help you and fill where relevant:
Your LimeSurvey version: Version 5.3.10+220419
Own server or LimeSurvey hosting: own
==================
Hello everyone,

I have an issue with this survey. It currently has 301 questions and I cannot reorder questions. If I delete for example a group of questions and the survey has less than 300 questions I can freely reorder any question. I have tested this in limesurvey online and locally too. I still get the same error.
Can anyone help me figure it out why does this happen and how can I fix this? Here I will attach my survey and you can test it with 300+ questions and with less than 300.

Thank you in advance!
Last edit: 2 years 2 months ago by eniisula.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #227627 by Joffm
So, I imported your survey (301 questions) and reordered the last group. (5.3.10)
As you see the original order (284,285,287,288,286) has changed
 
And I did this using the "question organizer" and by only dragging the questions in the structure tree.
There may be some php settings (max_input_vars, or...) that affect this. My setting here is 10000.


But now:
At first glance I saw that there are 78 obsolete questions.
6 groups (each 3 questions) SEKSIONI FILTRUE
6 groups (each 6 questions) PJESA 2
In both caes one group and subquestion relevance is sufficient.
11 groups (each 2 questions) SHKRUANI EMRIN E QYTETIT / FSHATIT (Here you have to add one question of type "text")
Here one group with tayloring the answer options is sufficient.

So you may save 77 questions only by using subquestion relevance resp. tayloring of answer options.
There may be more.

I hope you don't refuse anymore to read anything, as you did some time ago.
[url] manual.limesurvey.org/Adding_answers_or_subquestions/en [/url]
[url] manual.limesurvey.org/ExpressionScript_-...mplemented_functions [/url]
[url] manual.limesurvey.org/ExpressionScript_H...7BMrs.7D_Smith....22 [/url]

And a sample survey.
Download, import and study.
The interesting group is "Dynamic relevance".
Here the answer to numkids is used on question level, just transfer it to subquestion level.
[url] manual.limesurvey.org/ExpressionScript_sample_surveys#Download [/url]
This you may also study in the demo installation "Tayloring Examples"

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • eniisula
  • eniisula's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
2 years 2 months ago #227708 by eniisula
Hi Joffm,

First of all, thank you for your detailed reply. It is much appreciated!

"6 groups (each 3 questions) SEKSIONI FILTRUE" Each of these group has the same questions but with one more row than the previous. I am sorry but I couldn't find how to do this with relevance.

I tried reading what you suggested but I still haven't figured out yet!

Even if I figure it out and get rid of excessive groups, there are surveys that have more than 300 questions (they don't have unnecessary groups) and I still cannot reorder them.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 2 months ago #227712 by Joffm

Each of these group has the same questions but with one more row than the previous.

 I know that. But there is the question before, where you ask for the number.  (S.1.)
Therefore you know that the first subquestion is asked if there is atleast 1 person, the second only if there are more than 1 person, the third if there are more than 2 persons, ...

I am sorry but I couldn't find how to do this with relevance.

I admit, with your answer option codes it is difficult
But I am still wondering how you want to calculate a NPS in questions like Q.4.C.
You should revise your answer option codes that you can really use them.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: eniisula

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose