- Posts: 8
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Question group automatically number
- belsange
- Topic Author
- Offline
- New Member
Less
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
Muriel
Last edit: 2 years 9 months ago by belsange. Reason: grammar error
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
2 years 9 months ago #218500
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Question group automatically number
You can use ExpressionScript tailoring based on the relevanceStatus variable. Something like this:
- manual.limesurvey.org/ExpressionScript_-...n#Tailoring.2FPiping
- manual.limesurvey.org/ExpressionScript_-...#Access_to_variables
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
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11660
- Thank you received: 2742
2 years 9 months ago #218501
by holch
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.
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
- Topic Author
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
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.