Counting button clicks...

Oct 15, 2012

How do I make it so that I have a button that takes a user to a result slide can be clicked twice for that result - Then, on the third click take the user to a different slide.

1 Reply
Nancy Woinoski

Hi Michael, you are going to have to set up a variable to do this.

Create a numeric variable called "Counter" and set the inital state of this variable to 0. (you create variables by clicking the x icon that appears at the bottom right of the triggers panel.

Once you have created the variable, so to the slide that has the button and then add a slide-based trigger

as follows:

Next, add a trigger (with a condition) to the button that says jump to lside x when the user clicks the button if  variable "counter" is less than or equal to 2.

then add another trigger to the button (with a condition) that says jump to slide y when the user clicks the button if variable "counter" is greater than or equal to 3.

I think this should do it for you.

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