Click and reveal, next button disabled until all categories are viewed

Hi,

I'm working on a project and I need help with some interaction after all sections are viewed. Sorry, I am new at this. Here is what I am trying to accomplish.

Main slide has 4 rectangles/buttons and the next button is disabled upon entry (each button has a state of visited with a green check mark). Each category will lead to a separate scene (Scene 1, 2, 3, 4). When the first category button is selected and the user is taken to the first scene, the final slide "next" button will trigger the main slides visited state with green check mark. Once all categories are viewed and all green check marks (visited states) are triggered I would like the next button to change to active so the user can advance to an assessment.

How can I accomplish this? Should I use true/false conditions? What is the easiest way to set this up?

 

Thanks in advance.

 

Eric

5 Replies
Wendy Farmer

Hi Eric

see attached update to your file.

i created a variable called 'allVisited' which is in a trigger on the hub slide.

With SL states, the Visited state is a built-in state that you don't need to trigger but it will show the state as soon as the user clicks so that is why you are seeing the green tick when they click before it jumps to the subject slide.  If you didn't want that visual you could duplicate the visited state and create a custom state (e.g. completed) but you would need to trigger the change of state for each subject button on the hub slide.

I also moved the check mark to the built-in visited state and deleted the visited-s1 states as they weren't showing the tick mark because they are custom states and as stated above you would need a trigger.

Shout out with any questions or if you need more help with this.

Personally I would create custom states so my user doesn't see the tick as soon as they click but it is totally up to you and your design requirements.

Hope that makes sense ;-) Here is are a couple of tutorials here and here about working with states