Forum Discussion

KellyGrimm's avatar
KellyGrimm
Community Member
2 years ago

Using Buttons

I am struggling to remember how to disable a button so that it cannot be clicked on until the one previous to it has been viewed and the next button until all buttons have been visited.

 

It is on slide 1.7 & 1.8

  • Thanks for posting your story. I'm not in a position right now to look at it, but this discussion has a sample that may get you started anyway: 

     
    The Restricted Navigation does not show the link to the next section until the previous section has been viewed. The Mixed Navigation allows the various sections to be visited in any order, but does not allow going to the End until all sections have been viewed.
     
    This sample takes the learner to different slides when they click.
    If you just go to different layers, it is easier.
    1. Start with all buttons disabled except #1.
    2. When #1 is clicked, show layer 1. 
    3. Whatever you use to hide layer 1, also enables #2.
    4. When the last layer is hidden, use that mechanism to jump to the next slide.
  • GarthYorko-TE's avatar
    GarthYorko-TE
    Community Member

    Here is a condensed version of your file. The first slide shows how the next button is disabled and how the first button changes from disabled to normal. 

    The layers show how to control the change of state for the buttons.

    The final layer has a trigger to change the state of the Next button to normal and adjusts a variable so that revisits are free navigation on the base layer.

    Slide 1.2 is for you to practice replicating what was done on Slide 1.1 to make it work as you described.

  • KellyGrimm's avatar
    KellyGrimm
    Community Member

    Oh my gosh! Thank you so much. I see what II was not doing. I was trying to do everything on the base layer.