Welcome to the LimeSurvey Community Forum

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

Swap Question Group (Survey Rotation)

  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105331 by jajas
Need Help...
I have survey with many group.

Group like follow

1. Group A
2. Group B
3. Group C

Group A as Screening question

Group B and C is Main Question
Before survey come to Group B and C there is Question for Rotation(Swap):

Product Rotation [Single Answer]
- Product 1
- Product 2

When i Choose answer product 1 : i want to make question on Group 1 will show, after that Question on Group 2 Show.

When i choose answer Product 2: Question on Group 2 will show, after that question on Group 1 Show.

So i can swap question group base on Answer from Question Product Rotation

so anyone can help me, please..
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 9 months ago #105339 by DenisChenu
Replied by DenisChenu on topic Swap Question Group (Survey Rotation)
Hi,

Actually , only see one solution.

Group with Swap question: Question code SWAP, answer A1 and A2
Group 1 : 'Relevance equation:' to SWAP=="A1"
Group 2 : relavance equation to 1
Group 1b : 'Relevance equation:' to SWAP=="A2"

Denis
PS: you can put some feature request for a future LimeSurvey core release.

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.
The topic has been locked.
  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105345 by jajas
Replied by jajas on topic Swap Question Group (Survey Rotation)
Hi Denis,

Thanks for quick response.
i'll try it first. i'll let you know the result after i try this.
The topic has been locked.
  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105346 by jajas
Replied by jajas on topic Swap Question Group (Survey Rotation)
Hi Denis,

i just tried this.
Result i expected is.

when i choose Product Rotation== Product 1

Group order become
Group A ==> Group B ==> Group C (Group B showing first, without hidden Group C )
======================================================================
when i choose Product Rotation == Product 2

Group order become
Group A ==> Group C ==> Group B (Group C showing first, without hidden Group B)


The solution you explained to me,
affected to:
when i Choose Product 1 (Group B Show first, but Group C hidden)
when i Choose Product 2 (Group C Show first, but Group B hidden)

I Just want to swap order between group B and C without hide one of them.


Can i do this with LimeSurvey?
The topic has been locked.
  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105355 by jajas
Replied by jajas on topic Swap Question Group (Survey Rotation)
sorry my first question have a mistake, it should be like this

Group like follow

1. Group A
2. Group B
3. Group C

Group A as Screening question

Group B and C is Main Question
Before survey come to Group B and C there is Question for Rotation(Swap):

Product Rotation [Single Answer]
- Product 1
- Product 2

When i Choose answer product 1 : i want to make question on Group B will show, after that Question on Group C Show ( without hidden Group B ).
Group order become : Group A ==> Group B ==> Group C

When i choose answer Product 2: Question on Group C will show, after that question on Group B Show ( without hidden Group C ).
Group order become : Group A ==> Group C ==> Group B


So i can swap question group Order base on Answer from Question Product Rotation
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 9 months ago - 10 years 9 months ago #105364 by tpartner
Replied by tpartner on topic Swap Question Group (Survey Rotation)
No, swapping the positions of groups is not possible. You will need to create extra "mirror" groups to handle this and merge the data in post-survey analysis.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 10 years 9 months ago by tpartner.
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 9 months ago - 10 years 9 months ago #105379 by DenisChenu
Replied by DenisChenu on topic Swap Question Group (Survey Rotation)
Hi, like Tony and I already say : no mirro, need copy, then an hidden group.

jajas wrote: Group order become
Group A ==> Group B ==> Group C (Group B showing first, without hidden Group C )
======================================================================
when i choose Product Rotation == Product 2

Group order become
Group A ==> Group C ==> Group B (Group C showing first, without hidden Group B)

And ? Yes, just little adpatation here.

Group A with Swap question: Question code SWAP, answer A1 and A2
Group B : 'Relevance equation:' to SWAP=="A1"
Group C : relavance equation to 1
Group Bb : 'Relevance equation:' to SWAP=="A2" (same content than B )

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.
Last edit: 10 years 9 months ago by DenisChenu.
The topic has been locked.
  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105484 by jajas
Replied by jajas on topic Swap Question Group (Survey Rotation)
Hi,

So i have to copy Group B as Group Bb?
Is there any way to copy question group in Lime Survey?

Regards,

JajaS
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team & Official Partner
  • LimeSurvey Community Team & Official Partner
More
10 years 9 months ago #105493 by DenisChenu
Replied by DenisChenu on topic Swap Question Group (Survey Rotation)
Export LSG/import LSG

And remind to update question code after.

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.
The topic has been locked.
  • Mazi
  • Mazi's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 9 months ago #105498 by Mazi
Replied by Mazi on topic Swap Question Group (Survey Rotation)

jajas wrote: Is there any way to copy question group in Lime Survey?

Just export the survey group as LSG file and when then creating a new group, use the "import" tab to import the LSG file.

Best regards/Beste Grüße,
Dr. Marcel Minke
The following user(s) said Thank You: jajas
The topic has been locked.
  • jajas
  • jajas's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
10 years 9 months ago #105538 by jajas
Replied by jajas on topic Swap Question Group (Survey Rotation)
Hi,

it's Work. thanks
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose