Is there a function that's the equivalent of "insert page number"?

Jul 09, 2012

I was just wondering if there's an "insert page number" type of function for the slides?  I'm building a quiz, and would like to number the questions.  If not, no prob.  I can submit an enhancement request.  Thanks!

3 Replies
Nancy Woinoski

You can create a variable for this.

Create a variable called Page and set it as a Number. You can set the initial value to 0.

On each quiz page, add a text box that contains  %Page%

 This will display the page number.

On the first quiz question, create a screen trigger as follows:

Adjust Variable

Page

= Assignment

Value = 1

When Timeline starts

This will ensure that the first question is reset to 1 if the user restarts or retries the quiz. Note that if you have set the quiz

questions to random, you need to place this trigger of either the page before the quiz or on the results slide - but set the Value 0 instead on 1. If you set this value on the page before the first question, you have to make sure that the user returns to this page first before retaking the quiz.

On subsequent page in the quiz , create a screen trigger as follows:

Adjust Variable

Page

+ Add

Value 1

When Timeline Starts

This will increment the page number by one.

Mel Aclaro

Thank you both.  

Nancy you and I were thinking alike.  That's exactly the solution I put in place the first time, but then ran into issues when I tried going backwards (i.e., to previous slides).  I couldn't decrement the %Page% variable when the learner goes to previous slides -- that is, without changing up my navigation display by adding custom buttons.  (For this project, I wanted to keep it simple and was trying to stay with the organic nav buttons in the player.)  

Steve:  Verrry nice wizardry on those variables in your demo on the other thread.  Thank you for that.  I need to study what you did there a bit more as I think it'll have some wider applications for other projects.  I like how you were using variables to "broadcast signals" to other "listener variables".  Nice trick.  

Thanks again both.

Mel

This discussion is closed. You can start a new discussion or contact Articulate Support.