3 Replies Latest reply: Oct 15, 2014 7:10 AM by Lilybiri RSS

    How can I get the Hide TOC action to work as part of a Conditional Action?

    Cintron.sam Community Member

      GOAL: When a user takes the Quiz and fails, I would like for them to be able to Return to Course and review materials prior to retaking the Quiz. As noted in other discussions, I set up standard and conditional advanced actions to accomplish this:

       

      • Quiz Results Slide Property executes standard action "ResultsSlideVisitedAction" which assigns a variable (AssessmentVisited) to 1, setting a flag that the results slide has been visited.

      ResultsSlideVisited.PNG

      • If a user clicks Retake Quiz button, instead of going to a "knowledge check", a graded quiz question early in the course with zero points, it goes to the first true quiz question. The Knowledge Check slide executes the "ExcludeKCAction", a conditional one, that looks to see if the Results slide has been visited, meaning the quiz taken. If so, it Jumps to the 1st question slide of the quiz.

      KCExclude.PNG

       

      • I changed my Fail Quiz message to instruct the user to either click the Retake button (which works fine) or navigate using the TOC to review topics and then retake the quiz. The problem with this is if a user uses the TOC and happens to go to the Knowledge Check slide with the conditional action, they are sent directly to the Quiz.
      • So, I took a different tact and decided to instruct the user to use a "Return to Course" button to review the course and then retake the quiz. Since you can't add buttons to the Results slide,  I set up an invisible button to reset the AssessmentVisited variable to 0 so when the get to the Knowledge Check, they are not sent to the quiz. I did this by adding the image of a button, then layering an invisible rectangular shape on top of the button image. This allowed me to add advanced actions to the invisible shape. This worked!
      • The only final thing I would like to do is Hide the TOC as well, so there is no chance of the user going back without resetting the variable. I have tried to add the Hide TOC action, but it doesn't seem to work. Is this possible?  I have tried moving the Hide TOC as 1st, 2nd, and 3rd actions and sill doesn't work. Here is a screen shot of the conditional action that executes when a user clicks my Return to Course button:
      • ReturnToCourseCondition.PNG

       

       

      I appreciate any thoughts on a solution to hide the TOC as well. Thanks.