Skip to main content
Inspiring
November 30, 2016
Answered

Basic question regarding setting conditions for progressing to next slide

  • November 30, 2016
  • 1 reply
  • 193 views

Hi, 

I have a basic question. 

 

I want to make a slide on which there are different images lined up. 

So I need learners to click on all of them to get an explanation regarding the image in a sequence of their own choosing. 

The showing of the explanation and the greying-out of the images when they have been viewed,  I would do using multi-states. 

My question is how do I only show a "continue" button once all images have been viewed. 

Is there a simpler way than an AA? I guess, I could write an AA for each image that sets a flag once clicked. So only only if all flags have been set the button shows up.  

Or could I use a knowledge check slide to simply get learners to click on all the images that will then show another state/the respective explanation?

If there is an easy way to do it please let me know. 

 

Thanks in advance. 

    This topic has been closed for replies.
    Correct answer Lilybiri

    You need an advanced action for each image. I hope you filled a shape with the image so that it can be used as a button? You can add a custom state to the shape button with the greyed out image, and label it 'Done'. The advanced action needs to be conditional, because you'll not only have to toggle a tracking user variable but also check for the value of the counter. SInce the image has to look greyed out, I suppose the shape button can be disabled after having been clicked. That means that a shared action is possible. Here is the work flow:

    • Set up the shape buttons with the 4th custom state (besides the 3 InBuilt states), you can label that 4th state always with the same name (one of the exceptions about naming. I will use the name 'Done'.
    • Set the pause for all the shape buttons to the same moment.
    • Create the explanation text containers, and group them.
    • Create the Continue button, make it invisible in output.
    • Create a user variable v_counter with a start value of 0
    • Create the conditional advanced action with two decisions:
      • First decision 'Always' is a mimicked standard action
            IF 1 is equal to 1
               Hide Gr_Text
               Show Tx_One
              Disable SB_One
              Change State of SB_One to Done
              Increment v_counter with 1
      • Second decision 'Checkit'
          IF v_counter is equal to n              n is total number of images
              Show Bt_Continue
              Enable Bt_Continue

    The italicized words indicate the parameters for the shared action. If you prefer advanced actions, you can use the Duplicate feature, and will have to edit only the firt decision in the duplicates.

    If you want to allow to click multiple times on each shape button (image) you'll need tracking variables for each of them and have to replace the Increment by an Assign to 1 action, and change the condtion in the second decision to an AND combination checking if all the user variables are equal to 1. In that case shared actions are not possible.

    1 reply

    Lilybiri
    LilybiriCorrect answer
    Legend
    November 30, 2016

    You need an advanced action for each image. I hope you filled a shape with the image so that it can be used as a button? You can add a custom state to the shape button with the greyed out image, and label it 'Done'. The advanced action needs to be conditional, because you'll not only have to toggle a tracking user variable but also check for the value of the counter. SInce the image has to look greyed out, I suppose the shape button can be disabled after having been clicked. That means that a shared action is possible. Here is the work flow:

    • Set up the shape buttons with the 4th custom state (besides the 3 InBuilt states), you can label that 4th state always with the same name (one of the exceptions about naming. I will use the name 'Done'.
    • Set the pause for all the shape buttons to the same moment.
    • Create the explanation text containers, and group them.
    • Create the Continue button, make it invisible in output.
    • Create a user variable v_counter with a start value of 0
    • Create the conditional advanced action with two decisions:
      • First decision 'Always' is a mimicked standard action
            IF 1 is equal to 1
               Hide Gr_Text
               Show Tx_One
              Disable SB_One
              Change State of SB_One to Done
              Increment v_counter with 1
      • Second decision 'Checkit'
          IF v_counter is equal to n              n is total number of images
              Show Bt_Continue
              Enable Bt_Continue

    The italicized words indicate the parameters for the shared action. If you prefer advanced actions, you can use the Duplicate feature, and will have to edit only the firt decision in the duplicates.

    If you want to allow to click multiple times on each shape button (image) you'll need tracking variables for each of them and have to replace the Increment by an Assign to 1 action, and change the condtion in the second decision to an AND combination checking if all the user variables are equal to 1. In that case shared actions are not possible.

    Inspiring
    November 30, 2016

    Thanks a lot!

    I was wondering whether there was an easier way but this what I thought it might be like.