Welcome to the LimeSurvey Community Forum

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

Question group automatically number

  • belsange
  • belsange's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago - 2 years 9 months ago #218487 by belsange
Question group automatically number was created by belsange
Hi, I would like to know if it is possible to number question groups automatically. What I mean is that I have some question groups that are not displayed if certain answers are given. I want the next section/question group to be numbered accordingly. For example, question group 5 should not be displayed because of a previous answer, than question group that is usually group 6 should now be group 5. How can I achieve this?

Muriel
Last edit: 2 years 9 months ago by belsange. Reason: grammar error
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #218500 by tpartner
Replied by tpartner on topic Question group automatically number
You can use ExpressionScript tailoring based on the relevanceStatus variable. Something like this:

Code:
{if(Q1.relevanceStatus == '', '1', '2')}

- manual.limesurvey.org/ExpressionScript_-...n#Tailoring.2FPiping
- manual.limesurvey.org/ExpressionScript_-...#Access_to_variables

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: belsange
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #218501 by holch
Replied by holch on topic Question group automatically number

You can use ExpressionScript tailoring based on the relevanceStatus variable.


Good idea! But depending on the survey, this could become very complicated quickly.

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: belsange
The topic has been locked.
  • belsange
  • belsange's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #218511 by belsange
Replied by belsange on topic Question group automatically number
Thank you very much !!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose