Check out the LimeSurvey source code on GitHub!

Dynamic numbering of questions

More
2 years 11 months ago #104818 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

Please Log in to join the conversation.

More
2 years 11 months ago #104838 by tpartner
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.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form