Welcome to the LimeSurvey Community Forum

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

Formatting error associated with randomisation

  • Carla.Teotonio
  • Carla.Teotonio's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 6 days ago #270829 by Carla.Teotonio
Formatting error associated with randomisation was created by Carla.Teotonio
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
When randomisation is applied to two questions, each of which having a second random question associated (conditional on the answer to the first), a formatting error often occurs, causing the second question to appear above the first. How can I ensure that the second question always appears after the first? Thank you very much!
Attachments:

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 weeks 6 days ago #270833 by holch
In your special case, a LSS file that shows the behaviour would be great.

I think there is something wrong in the structure of your survey, because if the survey is structured correctly, it is basically impossible for the second question appear before the first question.

I suspect that you put those two questions into the same randomization group, which will then lead to the questions appear in different order.

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.

Please Log in to join the conversation.

  • Carla.Teotonio
  • Carla.Teotonio's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 weeks 6 days ago #270834 by Carla.Teotonio
Replied by Carla.Teotonio on topic Formatting error associated with randomisation
Thank you very much for your quick response.

I don't think that I put those two questions into the same randomization group, but I send the .lss file so that you can see.

Thanks, again!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 weeks 6 days ago - 2 weeks 6 days ago #270836 by Joffm
Yes, you did.
Q101, Q102, Q103,... are in the same randomization group "random1"
But the other related questions Q10101, Q10102 resp. Q10201, Q10201, ... are not.

So you might get something like
Q103
Q10101
Q10102
Q102
Q10201
Q10202
Q101
Q10301
Q10302
Q104
Q10401
Q10402

Because of the randomization group Q101 - Q104 are in randomized order.
Now if your random number "random1" is equal 1 you see that Q101 if displayed after Q10101 and Q10102

This randomization group "random1" is obsolete.

You show one of Q101 - Q104, selected by the random number.
And the following question are shown by condition: To be on the safe side you should add the random number to the condition, too.

Joffm


 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 2 weeks 6 days ago by Joffm.

Please Log in to join the conversation.

  • Carla.Teotonio
  • Carla.Teotonio's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #270916 by Carla.Teotonio
Replied by Carla.Teotonio on topic Formatting error associated with randomisation
Thank you very much for your answer.

It was very helpful as I've solved the problem in my computer. But when a collegue tests the survey in her PC, the problem remains, with the second question appearing above the first.
What do I have to do to prevent this from happening every time, and not only in my computer (note: we are both using google chrome).  

Thanks again!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago #270918 by Joffm

What do I have to do to prevent this from happening every time,

Send the lss export!

Joffm
 

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

Please Log in to join the conversation.

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago - 1 week 6 days ago #270919 by holch

It was very helpful as I've solved the problem in my computer.


What does this mean?

You did not answer where your Limesurvey is installed. Do you run a local copy on YOUR computer?

Because usually, if you change this in Limesurvey and your colleague accesses that same Limesurvey intallation and the same survey, this should be solved for anyone who is accessing this survey.

So to me, it sounds strange that it is supposed to be solved on YOUR computer and not on your colleagues computer, if both access the same link.

So, please answer the questions that are there when you start a new thread in Limesurvey.

Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================
 


You left them empty in your first post.

And like Joffm says: Provide an LSS export of your survey, so we can have a look at what you have actually done.

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.
Last edit: 1 week 6 days ago by holch.

Please Log in to join the conversation.

  • Carla.Teotonio
  • Carla.Teotonio's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 week 6 days ago #270922 by Carla.Teotonio
Replied by Carla.Teotonio on topic Formatting error associated with randomisation
Thank you.
Attached I send the .lss file.

Your LimeSurvey version: LimeSurvey Community Edition  Versão 6.15.0+250623 
Own server or LimeSurvey hosting: where do I see that information?
Survey theme/template: where do I see that information?

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 week 6 days ago - 1 week 6 days ago #270923 by Joffm
H,
you did not remove the randomization groups.
They are still there.



Though you named the "randomization group name" and your random number both "random1" these are two absolutely different things.
You use a random number to select ONE object randomly from x objects.
You use a randomization group to display ALL objects with this name in randomized order.
If you are not familiar with this, please, create a small sample survey to see and understand the differences.

And:

Own server or LimeSurvey hosting: where do I see that information?

You use the Community edition. So, if you really have an own server, you know this.
So this seems to be something like an installation of your university, your company, or whatever. This is also important for us to know.

Survey theme/template: where do I see that information?

In "General settings":
 

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 week 6 days ago by Joffm.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose