Welcome to the LimeSurvey Community Forum

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

Random groups but force two groups to occure together

More
2 years 11 months ago #196696 by rakittam
Hey community,

I need some advice on group presentation.


My question groups need to occur randomly, so I assigned them to "randomization groups", and this works fine. However, I also need for one of these question goups, call it A, that it is always followed by the same question group B.

So e.g.

Q Q Q A B Q Q

or

Q A B Q Q Q Q

etc.

Is there a way to do this?

Best regards
The topic has been locked.
More
2 years 11 months ago #196865 by DenisChenu
Not in core LimeSurvey

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The following user(s) said Thank You: rakittam
The topic has been locked.
More
2 years 11 months ago #196903 by holch
If we would have a real "page" concept besides the "group" concept, this would be easy peasy. But we don't. And from the opinion in some of my feature requests we probably will never get a real "page" concept.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
The following user(s) said Thank You: rakittam
The topic has been locked.
More
2 years 11 months ago #196928 by DenisChenu

holch wrote: If we would have a real "page" concept besides the "group" concept, this would be easy peasy. But we don't. And from the opinion in some of my feature requests we probably will never get a real "page" concept.

You can not say be easy ...

It can be done in plugin on LimeSurvey 4, but still not easy.

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
More
2 years 11 months ago #196938 by tpartner
You could hide half of the content in a group and use the "Next" button to hide the first half and show the second half of the content, simulating the submission of a group.

Caveats:
- You may need some validation on the "Next" clicks to verify that mandatory questions are answered.
- Returning to the group may be problematic.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
More
2 years 11 months ago #196940 by DenisChenu

tpartner wrote: You could hide half of the content in a group and use the "Next" button to hide the first half and show the second half of the content, simulating the submission of a group.

Caveats:
- You may need some validation on the "Next" clicks to verify that mandatory questions are answered.
- Returning to the group may be problematic.

Yes, but i don't think it's OK with needed system.

Group B must be after group A
Group A position must be randomized (at position 1, 2, 3 etc ...)

Clearly : can be done in a complex plugin in 4.X
setVariableExpressionEnd usage
Sample of usage for reconstruction of questionnaire

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose