Welcome to the LimeSurvey Community Forum

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

Can you rotate the Group as per defined Order

  • rajkumar_dms
  • rajkumar_dms's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 months 4 weeks ago - 6 months 4 weeks ago #265014 by rajkumar_dms
Can you rotate the Group as per defined Order was created by rajkumar_dms
Please help us help you and fill where relevant:
Your LimeSurvey version: [6.5.9]
Own server or LimeSurvey hosting: [Cloud]
Survey theme/template:
==================
Hello Team,

I would like to rotate the order of group by predefined order
I had a 3 panel and each panel having 4 option 
Suppose i choose Panel 1 Then the Group Order is G1 ->G4 ->G2 ->G3
Panel 2 Then the Group Order is G2 ->G1 ->G3 ->G4
Panel 3 Then the Group Order is G1 ->G3 ->G4 ->G2

Also attached the lss file for the same
 
Last edit: 6 months 4 weeks ago by rajkumar_dms.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 4 weeks ago - 6 months 4 weeks ago #265019 by Joffm
Hi,
that's really all?
Well, this you can di really easy by "tayloring", like
G01: Interviewer to bring the plate {if(Panel==1,"Product 1",if(Panel==2,"Product 2",Product 1"))} to the table from the kitchen/ room.
G02: Interviewer to bring the plate {if(Panel==1,"Product 4",if(Panel==2,"Product 1","Product 3"))} to the table from the kitchen/ room.
...

Worse alternative:
I wonder, why there is no order "G1,G2,G3,G4".
But by changing G2 and G1 we get this 
Panel 1: G2,G4,G1,G3
Panel 2: G1,G2,G3,G4
Panel 3: G2,G3,G4,G1

Now, if you double groups G1 and G3 and order
G1a,G2,G3a,G4,G1b,G3b
you can display with these conditions
G1a: Panel==2
G2: all
G3a: Panel>1
G4: all
G1b: Panel !=2
G3b: Panel==1

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 months 4 weeks ago by Joffm.
The following user(s) said Thank You: DenisChenu

Please Log in to join the conversation.

  • rajkumar_dms
  • rajkumar_dms's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
6 months 4 weeks ago #265036 by rajkumar_dms
Replied by rajkumar_dms on topic Can you rotate the Group as per defined Order
Seems you are not understood my need

i will again elaborate it

Choose Panel1 in panel question Then the Group G1  will ask then text will be ->group G4  the ->group G2 -> group G3(That means will ask the question present in the group)
Choose Panel 2 Then the Group G2 will ask ->Group G1 ->Group G3 ->Group G4
Choose Panel 3 Then the Group will ask G1 ->Group G3 ->Group G4 ->Group G2

Supposed i used the piping method then it may 1st group will be ask for Product 1,2,3 or 4

So we want it will ask as per their order it collected as per defined product group

Hope you understand

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
6 months 4 weeks ago #265038 by Joffm
I understood exactly.

But you have to live with it.

Either you use "tayloring". Then you have to restructure the exported data a bit
Or you use the second option. Then you only have to merge the data of the doubled groups

Both easily done in Excel.

Joffm

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

Please Log in to join the conversation.

  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
6 months 3 weeks ago #265049 by DenisChenu
Replied by DenisChenu on topic Can you rotate the Group as per defined Order

But you have to live with it.
 
Right !
No know existing solution currently.

BUT : you can construct a plugin with www.limesurvey.org/manual/SetVariableExpressionEnd event
 

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. - Professional support - Plugins, theme and development .
I don't answer to private message.

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose