Welcome to the LimeSurvey Community Forum

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

Request for help with creating rotations

  • inovadados
  • inovadados's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 5 hours ago #271427 by inovadados
Request for help with creating rotations was created by inovadados
[object Object] Please help us help you and fill where relevant:
LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey Cloud:
Survey theme/template:
==================Hello,I apologize for asking for help once again, but I am having some difficulty creating rotations.I have an HM3 question, which is an RM with up to 14 options. I need to randomly select three brands and apply the question to each of them. I followed an example I found, but it doesn’t work when the question format is “one question at a time.”Could you please help me with this once again?Thank you very much for your attention!

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 day 4 hours ago - 1 day 4 hours ago #271428 by Joffm
Replied by Joffm on topic Request for help with creating rotations
Hi,
please do not send lsq exports nor lsg  exports.
Only lss.
Reasons:
lsq and lsg exports are language sensitive. Meaning you can only import into a survey with the same base language.
So we volunteers have to guess the base language, create a survey, create a group to be able to import the lsq export.
Furthermore the survey wide settings are not included that might be imortant.

Please, ease our life and send only lss exports.

BTW: Which example did you try.
Generally we always recommend to display "group by group".
If you want to give a look&feel of "question by question" just put one question into each group.


Joffm

And please alwways answer the questions at the beginning about version, hosting, etc.

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 day 4 hours ago by Joffm.

Please Log in to join the conversation.

  • inovadados
  • inovadados's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 3 hours ago #271433 by inovadados
Replied by inovadados on topic Request for help with creating rotations
Hi Joffm,Thank you for the clarification. I understand now that lsq and lsg exports are language sensitive and may cause issues during import. I’ll make sure to only send LSS exports from now on, to simplify the process for you and the volunteers.Regarding the survey structure, all parts should be “question by question”, except for block C, which can remain “group by group.”I must admit, I feel a bit frustrated that tasks that are usually very simple have become quite challenging in LimeSurvey.If you could help me with this, I would be very grateful. 

File Attachment:

File Name: limesurvey...4884.lss
File Size:376 KB

Please Log in to join the conversation.

  • paul.borsdorf
  • paul.borsdorf's Avatar
  • Offline
  • Official LimeSurvey Partner
  • Official LimeSurvey Partner
More
1 day 2 hours ago #271434 by paul.borsdorf
Replied by paul.borsdorf on topic Request for help with creating rotations
A quick question: What do you mean by "tasks that are usually very simple have become quite challeging in LimeSurvey"? If you mean the new survey editor: you can switch to the classic editor at any time via your account.

Brauchen Sie Unterstützung bei der Erstellung und Auswertung von Umfragen mit LimeSurvey?
Mein Angebot als autorisierter LimeSurvey-Partner finden Sie auf meiner Website www.paulborsdorf.de

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 day 2 hours ago - 1 day 1 hour ago #271436 by Joffm
Replied by Joffm on topic Request for help with creating rotations
Hi,
I do not see an issue in your sample except of 
  • this typo: {C_B1=join(if(HM3_1=="Y","A",""), if(HM3_2=="Y","B",""), if(HM3_3=="Y","C",""), if(HM3_4=="Y","D",""), if(HM3_5=="E","E",""), if(HM3_6=="Y","F",""),...
  • the unnecessary two assignments.

Do it directly:
{C_B1=join(if(SFUNN1_1>=4,"A",""), if(SFUNN1_2>=4,"B",""), if(SFUNN1_3>=4,"C",""), if(SFUNN1_4>=4,"D",""), if(SFUNN1_5>=4,"E",""), if(SFUNN1_6>=4,"F",""), if(SFUNN1_7>=4,"G",""), if(SFUNN1_8>=4,"H",""), if(SFUNN1_9>=4,"I",""), if(SFUNN1_10>=4,"J",""), if(SFUNN1_11>=4,"K",""), if(SFUNN1_12>=4,"L",""), if(SFUNN1_13>=4,"M",""), if(SFUNN1_1$>=4,"N",""))}
is sufficient (as 6 is the highest possible option, no need to test for it)

And - as you know - you have to display "group by group".
This is because I use this "container" and the question "eqCalc" that contains a lot of single equations. Just to save space and it's imo easier to handle.

As said before we recommend "group by group".
You can have a look& feel of "question by question" by placing one question into each group.

But there is still the option to:
  • display a question and a follow-up question ("Please, explain, why you dislike...") on one page
  • merge questions by javascript
  • etc.
  • generally you are much more flexible

So, what can you do, if you insist in "question by question"
Just split the equation "eqCalc" into single equations.
In this case there is no assignment, but you store the single results.
You may call eqB1, eqR1, eqS1,, eqB2,... eqTot
It's more or less the same, but a bit longer.


And this?

tasks that are usually very simple

You forgot a word. Tasks that are usually very simple described.
The necessary logic is sometimes a bit (or even a lot) more complicated.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 day 1 hour ago by Joffm.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose