Forum Discussion

JeniJohnson-6e1's avatar
JeniJohnson-6e1
Community Member
9 days ago

Need help with timing variables

I created a drop down activity. 

When a selection is chosen the amount of time that selection takes (10-15 minutes) is added to the variable. 

If the variable is less than 30, a layer will pop up telling the learner they can add more items (until they get to 30). 

Where I am running into trouble is the variable counter just keeps going up. If I click one selection, then change my mind and click a different one the number keeps going up.

I'm also not sure how to get my additional selection drop downs to appear ONLY when the variable is less than 30. They appear on screen right away (they are supposed to be disabled.)

Same with the layer. I need it to appear only after a selection has been made, but the variable is still less than 30. 

I'm including the file and hoping someone can help! 

  • Hi JeniJohnson-6e1 rather than using "Add", as this "adds" to the variable each time, you would need to use "Set".

    Rather than using "Disabled" state on your other components, use "Hidden" state. The can be at the beginning of the timeline.

    The logic for showing Selection 2 was ok, but I changed to less than 30, rather than not equal 30.

    It looks like you haven't finished the other bits yet, so I won't comments on them.