Problems disabling the next button

Oct 17, 2016

I'm having a problem with disabling a next button where i have set to disable when the timeline starts on that particular slide. 

I've built a freeform interaction  where i want the user to choose from 3 options. 

The option they take will then take them to the layer related to that option. When they arrive at that layer, i've set it to enable the next button, it does.

The problem occurs if a user wants to click prev on the next slide. It then returns to the slide and the button returns to disabled and therefore doesn't allow the user to move on with the course (the slide is also set to resume to prev state). Has any.

Has anyone any suggestions on how i could make this work?

 

4 Replies
Dave Cox

Since you set the button to disable when the timeline starts, when you navigate away and return, the timeline will restart and disable the button again.

Here is a one way you can get around this.

  • Create a variable to store that you have visited this slide before
  • After the trigger that disables the next button, update your variable to indicate you've been to this slide.
  • update your trigger that disables the next button and add a condition to disable the next button only if this slide has never been visited before.

 

Dave Cox

It really depends on what you want to do. A number variable will work just fine, I generally use a number variable, as I do this for every slide in my projects. The number I use tells me what the last slide the student has visited. I disable the next button for slides that the student hasn't viewed yet, but leave it enabled when the student is revisiting a slide. (For example, by using the previous button.)

If you only need to disable the next button for one slide, then you could just use the true/false variable. 

I'm attaching a sample project with the triggers set up to disable the next button on slides that haven't been viewed yet. You can get an idea how the work from there.

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