How can I force a user to stay on the page until all layers have been viewed?

Mar 30, 2016

I THINK (and certainly hope) this is the last question to arise from my client's change of requirements! I have slides with multiple layers, and he wants to make sure every layer has been seen before a user is allowed to move to the next page. I know how to do this on the timeline, but not to ensure each layer has been viewed. Thanks...

10 Replies
Jerine Sebastian

Create variables True/False or Numeric for each layer. For e.g., layer 1, layer 2.. etc. Set them to default false or '0'. 

When the user visits layer 1, adjust variable to 'true' or '1' when timeline starts. Do the same for all layers.

In the base layer, create conditions on the Jump to Next slide trigger so that it jumps only when all variables (AND condition) are 'true' or '1' (when the user clicks Next button).

Additionally, you can create a layer, say "Continue". Show this layer with a message "visit all info before continuing", when the user clicks Next button, and any of the variables (OR condition) are 'false' or '0'.

This should work well.

Jerine Sebastian

Another alternative to using variables is to check the states of the objects the users click. This would work for you Shel because in your case they are layers within a slide. If you are linking to other slides, then variables are the best option that works from whatever I have tried.

If you would like to use states instead of variables, then

Ensure that the triggers to click is on an object (shapes, pictures, buttons) and not a hotspot.

Create "Visited" or "Selected" state for each object. By default shapes and buttons change their state to "Visited" when clicked; so you don't have to create triggers to change their state.

In case of images, you need triggers to "change state to visited" when "user clicks" for each image.

Then you need to ensure that Next button takes to next slide on condition that all objects have a visited state.

I have attached a screenshot for your reference.

Hope this helps :) .

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