Welcome to the LimeSurvey Community Forum

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

Dynamically reorder question groups

  • umrosa
  • umrosa's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 weeks 1 day ago #271084 by umrosa
Dynamically reorder question groups was created by umrosa
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.3.7+231127
Own server or LimeSurvey hosting: own server
Survey theme/template: custom theme based on vanilla
==================
I would like to create a "multi-purpose" survey in which a number of question groups is displayed in varying order - depending on a parameter that is passed to the survey.
So the solution I have in mind would like like this:
- Single survey with a large number (>100) of question groups
- When opening the survey, a parameter (Token attribute) is passed that determines which groups are displayed and in which order.
- ordering of the groups is done via Relevance / Expression Script (ideally)

Example with smaller number of groups:
Survey consists of groups G1, G2, ... G10
Parameter value is 1 -> survey is displayed in this way: G1, G7, G4, G9
Parameter value is 2 -> survey is displayed in this way: G9, G7, G2, G3, G5
Parameter value is 3 -> survey is displayed in this way: G3, G10, G8
etc.

Is there a way to do this?

I only found a post with a similar question that was more than 10 years old. The answer seemed like it was not possible to do this without copying the question groups, but I thought I'd better ask again since LS has evolved a lot since then and maybe I missed something?

Cheers, umrosa

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose