Skip to main content
Inspiring
June 9, 2015
Answered

Show a button on quiz results slide

  • June 9, 2015
  • 3 replies
  • 361 views

Using Captivate 6, I would like to show a print button on the quiz results slide only if the user passes the quiz. I've tried setting the action in the Quiz>Pass or Fail settings to show the button (With an advanced action) upon passing the quiz but still no luck. On the results slide, for the print button, I've unchecked the "Visible in output". Any ideas?

    This topic has been closed for replies.
    Correct answer Lilybiri

    You can download a complete list with system variables from: System variables in Captivate 8 - Captivate blog

    The quizzing system variable you'll need to use in a conditional action is cpQuizInfoPassFail, which is a Boolean, can only have two values 0 (failed) or 1 (passed).

    Use the On Enter event of the Score slide to trigger a conditional advanced action

    IF cpQuizInfoPassFail is equal to 1

        Show Bt_Print

        Continue

    ELSE

        Continue

    3 replies

    holttwAuthor
    Inspiring
    June 9, 2015

    Thanks Lilybiri. Worked great.

    holttwAuthor
    Inspiring
    June 9, 2015

    Rod, I'm not familiar with the Quizzing System Variable. Could you give me some pointers on how to set that up? I assume it's an "On Enter" action for the Quiz Results slide.

    Lilybiri
    LilybiriCorrect answer
    Legend
    June 9, 2015

    You can download a complete list with system variables from: System variables in Captivate 8 - Captivate blog

    The quizzing system variable you'll need to use in a conditional action is cpQuizInfoPassFail, which is a Boolean, can only have two values 0 (failed) or 1 (passed).

    Use the On Enter event of the Score slide to trigger a conditional advanced action

    IF cpQuizInfoPassFail is equal to 1

        Show Bt_Print

        Continue

    ELSE

        Continue

    RodWard
    Community Expert
    Community Expert
    June 9, 2015

    The action you define in the Quiz Pass/Fail settings only gets executed on LEAVING the Quiz Results slide.  So you won't be able to use that action to do what you want.

    I suggest you use a Conditional Action to check for Pass Fail status using the Quizzing System Variable that tracks this and use that to show or hide your button.