Welcome to the LimeSurvey Community Forum

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

Dynamic numbering of questions

  • crafter
  • crafter's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 2 months ago #104818 by crafter
Dynamic numbering of questions was created by crafter
I want to set up a survey where some questions may be hidden on displayed based on relevance evaluation.

I have set up the survey to show numbers, but I want the numbering to be adjusted dynamically to reflect a logical sequence.

For example, my survey is as follows :

1. Answer Y/N
2. You answered "Yes" (relevance - > {1} == 'Y)
3. You answered "No" (relevance - > {1} == 'N)
4. Enter you reason (relevance - > {1} == 'N)
5. Thank you

If I select 'Yes' on question 1, the numbering shows 1,2,5
If I select 'No' on question 1, the numbering shows 1,3,4,5

How can I show the sequence as 1,2,3 for Q1==Yes, and 1,2,3,4 for Q2==No

Thank you.
Pradesh
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 2 months ago #104838 by tpartner
Replied by tpartner on topic Dynamic numbering of questions
You can use Expression Manager to pipe in the question numbers - manual.limesurvey.org/Expression_Manager#Tailoring.2FPiping


.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose