Variable Trouble, Need Help!

jawad
jawad Community Member Posts: 73
I have four Correct/Ticks (images) that appear seperately on screen. Once all four Correct/Ticks appear, a popup (image) should than appear. My attempts to work this have not been successful.

I created the following actions on each of the Correct/Ticks:

1. Show > Modify Varible > Popup, Add To Varible, 1

2. Show > Show > Popup > IF, Popup, Equal To (also tried 'Contains'), 4

Comments

  • jsearcy
    jsearcy Community Member Posts: 61
    It looks like to me that you have an issue not with your variable but on how you trigger your pop up. If each tick does not show up in the same order (say they appear based on a learner action), I would add the check for the variable value action to each tick to trigger the pop up if the variable equals four (your item #2).
  • ssneg
    ssneg Community Member Posts: 1,466 ☆ Roadie ☆
    This sounds like it has to work. Can you share the title/page?
  • jawad
    jawad Community Member Posts: 73
    Here's the attachment.

    The Popup image is initially visible for your benefit, it's the group with all the text and icons.
  • jsearcy
    jsearcy Community Member Posts: 61
    Jawad,

    Two things: on your page, there was no way to process the question. The onload action checks the variable before the question is processed - which works if the learner returns to the page, but not on the initial page load. I added a process question button and it worked fine.
  • jawad
    jawad Community Member Posts: 73
    Sorted now! Batman came and helped me...
  • bwayne3246
    bwayne3246 Community Member Posts: 1
    Sorry it took so long... was too busy fighting off superman!

    I'M BATMAN!