Forum Discussion
Question bank - numbering questions
Hi Shanti,
You can achieve this by using a number variable and adding a trigger to each question slide to add 1 to this variable when the timeline of the question slide begins - you will also need to add a text box to each question slide that includes a reference to the variable so variable value is displayed on screen.
In the attached example, I have 7 questions in a QB and I am randomly drawing 5 from it. When you preview the attached, you will see that the question number at the bottom of each question slide always goes up in sequence.
I have also added a further trigger to the retry button on the results slide that changes the variable back to 0 when the user clicks it - this will ensure that the question numbers start from 1 again when further attempts are made.
I hope this helps.
Antony
Hello, I know this is an old posting but I am hopeful someone can help me. I have a question counter setup. I can get it to work great until I add my Review button. Anthony's example is behaving exactly like mine. The issue is when you REVIEW and click PREVIOUS. The counter is not decrementing (it continues to increment). Does anyone have the triggers and order of triggers to make this work?
- YvonneLeklou8 years agoCommunity Member
Carol, did you ever find the solution to this issue? It's my turn to encounter it.