condition question

Mar 04, 2013

I am using regular hotspots for a slide. I would like for all hotspots to be clicked and reviewed before the user can click the "next" button to move on to the next section. What triggers/conditions can I use to do this? Thank you for your help!

25 Replies
Christine Hendrickson

Hi Mara,

One option would be to use a number variable. Have each click of the hotspot add a value to this variable. Once the variable matches that value, the learner can continue to the next slide. This will work by adding a condition to the "Next" button trigger.

I put together a very quick example for you, just in case you'd like to try this out.

Keep in mind, though, it's very simple. I'm sure some of our more talented community members can give you a more elegant approach, but I figured I'd toss the suggestion out there

I'm attaching the file, if you'd like to see how I set up the triggers and conditions. 

Mara Waldruff

So I went with the variables since I had already drawn the hotspots. I created several True/False variables that when clicked produce the value true. I also set the "Jump to slide when user clicks next button on condition that the variables are equal to true". However, it is still not preventing me from clicking next before I click the objects with the true/false variable. Any ideas, guys?

Kevin Thorn

Hey Mara,

The challenge with an interaction like this is Showing/Hiding the Next button. While you can turn "off" the Next button per slide, it's different than simply changing its state to Hidden.

One approach is to turn off the Next button all together for this slide. Simply forget about it.

Then create a new button and label it "Next" or "Continue" and set its initial state to Hidden. Add a trigger to "Jump To Slide..."

Finally, once you've evaluated all the conditions of your markers, change the state of that new button to Normal.

Rebecca Fleisch Cordeiro

Hi Mara,

I just took a look,

and the last trigger was just a plain old "click next" trigger. I deleted it, and modified the one with the T/F triggers attached to say jump to next if khaki shorts and denim shorts is equal to true .

Also, the variables in the Manage project variables wizard were initially set to True. I changed those to False.

Any questions, just holler

Kirsten Smith

I have a situation similar to Mara's. I have six text boxes at the bottom of a slide that I converted to a button set. When the user clicks the text box a slide layer displays additional information. I created a state for each of the text boxes called "visited", and I added conditions to the Next button trigger that prevent the user from clicking the Next button and accessing the next slide until all the text boxes are in the "visited" state.

When I preview the scene to test that slide, the Next button does not take me to the next slide, even though I click all the text buttons and their state changes to visited. Any thoughts as to why this wouldn't work? I've attached a screenshot so that you can visualize what I'm talking about.

Thank you!

K

Kevin Thorn

HI Kristen,

Are you previewing the Scene that slide resides in or just previewing the Slide itself? If so, and since your're only previewing a single slide, the Next button won't work. 

Preview the Scene > test "that" slide > click the Next button. Your setting seem correct so it should jump to the next slide as designed.

Kirsten Smith

Kevin Thorn said:

HI Kristen,

Are you previewing the Scene that slide resides in or just previewing the Slide itself? If so, and since your're only previewing a single slide, the Next button won't work. 

Preview the Scene > test "that" slide > click the Next button. Your setting seem correct so it should jump to the next slide as designed.


Hi Kevin. Yes, I previewed the entire scene so that I could test the Next button. I tried it previewing the entire presentation too. No luck with either option.

Rebecca Fleisch Cordeiro

Hi Kirsten,

Couple questions:

You say When the user clicks the text box a slide layer displays additional information

So, are they returning to the base layer? For example, do you have a place for them to click to hide the layer (or have the layer hidden when the timeline ends)?

I'm attaching a REALLY Plain vanilla slide here with 3 text boxes that display 3 associated layers. There's an X to hide the layer, so Learners are returned to base layer. They can't advance unless they've clicked all 3 text boxes (they can actually advance before closing the layer on the when the 3rd text box has been visited.

Any questions, just holler; also, feel free to upload your slide so community members can take a look.

Kirsten Smith

I found a solution that worked. I removed the Next button on the player from that slide and created a "Click here to continue button" with the initial state hidden. I placed two triggers on the button; one to change the state to normal when the timeline ended and all the content button states = visited, and one to go to the next slide when clicked. It works beautifully. I just wish I could have made the Next button on the player itself work the way I had triggered it to.

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