Hiding the Next Button with Triggers

Apr 24, 2018

Hello,

I'm looking for a little help as I have a slide with 3 images (with text on top) that link to different slides and I don't want the user to be able to continue until he/she has clicked on all of the images. Since the interaction wasn't working I figured it might be because the image and text are separate items and it depends where the user clicks. Therefore, I put 3 invisible rectangles on top of each image/text combo. Each invisible rectangle has a normal, hover and visited states. I have a trigger to change the state of the Next button to hidden when the timeline starts. I also have a trigger to change the state of the Next button to normal when the state of rectangle 1 and rectangle 2 and rectangle 3 are visited. On the base layer I have the option checked to resume saved state since the user navigates from this slide whenever a rectangle is clicked. However, once the user has clicked all 3 rectangles and the e-learning brings them back to the slide in question, the next button is not showing. I'm wondering why?

11 Replies
Len Hack
Laura Boyd

I have a trigger to change the state of the Next button to hidden when the timeline starts. 

I think you problem is here, as it looks like you're setting it to hidden every time the slide starts. Add a rule that says it should only be hidden if the states are not all visited.

A better idea might be to set the next button initial state to Hidden instead of using the trigger above. 

Regards,

Len

Laura Boyd

Hi Len,

I tried changing the triggers so that I just have one that says "Change the state of the next button to hidden when the timeline starts IF Rectangle 1 state is not equal to visited and rectangle 2 state is not equal to visited and rectangle 3 state is not equal to visited" along with 3 triggers (i.e.jump to X slide when the user clicks rectangle 1/2/3") while keeping 'resume saved state" on the base layer, but it's still not working.

I'm using the built-in player buttons. Is there a way to set the initial state of the next button to hidden other than the trigger I created to hide it at the start of the slide if the 3 rectangles are not visited?

 

Thank you,

Laura

 

Li Li

You might consider to set three variables for each rectangle, respectively. That's what I did for my projects.

Set the default value to false. When clicked, it is changed to true. Then you want to set: Change the state of next button with conditions If all variables are true, then <next> button shows.

I hope it will help. Please let me know whether it works.

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