Forum Discussion

HeatherVirtue's avatar
HeatherVirtue
Community Member
3 years ago

Show Layer When Variable Count Reaches Target Number

Hello heroes! 

I'm working on a slide where I would like the learner to enter numerical values into three fields on the base layer. Depending on the answers, the slide will:

  • Go to the "great job!" layer and then they can move to the next slide if all answers are correct within the first two tries.
  • Go to the "try again" layer upon the first two incorrect attempts. 
  • Go to the "show answers" layer when submitting for the third try.

Everything seems to be working except for the trigger that activates the "show answers" layer. 

I have a %visitedtryagain% variable that counts the number of times the learner accesses the "try again" layer, and that count seems to work correctly. I have a trigger that sends you to the "show answers" layer once the user clicks submit and %visitedtryagain% reaches 2. That trigger does not seem to work correctly and it cycles back through the "try again" layer.

Any ideas on what I should change so that the "show answers" layer does in fact show when the user tries for the third time? 

I appreciate any and all advice...thank you so much for taking the time to check out the attached slide. Also, I am a very new user so your support is extremely helpful! :)