Skip to main content
jen-nay
Known Participant
July 14, 2017
Answered

How to stop the slide from advancing until all the click boxes have been selected

  • July 14, 2017
  • 1 reply
  • 465 views

Good morning,

I am sure there is a simple solution for this problem. I have several click boxes that the student must select all of them, not in any particular order. After each selection has been made, the student gets a great job message. When all click boxes have been selected, I would like the current slide to advance to the next slide.

Thank you for your help.

    This topic has been closed for replies.
    Correct answer Lilybiri

    Some crucial information is missing from your question: which version do you use (exact number please)?

    You need to create an advanced action for each click box. I cannot give exact details since I am unaware of the version, and advanced actions dialog box has changed in CP2017. Look at: Advanced Actions Dialog box in Captivate 2017 - Captivate blog

    To start with you need a user variable per click box, will label them v_one, v_two......; v_last. They are Booleans, starting with a default value of 0, which will be toggled to 1 when the click box has been clicked.

    The advanced action has two parts:

    Part 1: has always to be executed, with your commands (of showing feedback, probably closing other feedback) and changing its user variable. For click box 1 this could be:

           Hide Gr_Feedback

           Show Feedback1

           Assign v_one with 1

    Part 2: will check all values of the user variables and when they are all set to 1, will navigate to the next slide:

        IF v_one is equal to 1    AND

            v_two is equal to 1   AND

            .....

            v_last is equal to 1

       Go to Next Slide

      ELSE

        Continue

    Create a duplicate of this action for each click box, you only have to change the Feedback name and user name in the duplicates.

    All click boxes need to have their pausing point at the same moment.

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    July 14, 2017

    Some crucial information is missing from your question: which version do you use (exact number please)?

    You need to create an advanced action for each click box. I cannot give exact details since I am unaware of the version, and advanced actions dialog box has changed in CP2017. Look at: Advanced Actions Dialog box in Captivate 2017 - Captivate blog

    To start with you need a user variable per click box, will label them v_one, v_two......; v_last. They are Booleans, starting with a default value of 0, which will be toggled to 1 when the click box has been clicked.

    The advanced action has two parts:

    Part 1: has always to be executed, with your commands (of showing feedback, probably closing other feedback) and changing its user variable. For click box 1 this could be:

           Hide Gr_Feedback

           Show Feedback1

           Assign v_one with 1

    Part 2: will check all values of the user variables and when they are all set to 1, will navigate to the next slide:

        IF v_one is equal to 1    AND

            v_two is equal to 1   AND

            .....

            v_last is equal to 1

       Go to Next Slide

      ELSE

        Continue

    Create a duplicate of this action for each click box, you only have to change the Feedback name and user name in the duplicates.

    All click boxes need to have their pausing point at the same moment.

    jen-nay
    jen-nayAuthor
    Known Participant
    July 14, 2017

    I am using captivate 9.

    Lilybiri
    Legend
    July 14, 2017

    You should use 9.0.2.437.

    In that case, the first part will be a decision that is a mimicked standard action by using a condition that results always in TRUE:

       IF 1 is equal to 1

          Hide Gr_Feedback

           Show Feedback1

           Assign v_one with 1

    Second part is a second decision, with the description in my previous mail.