Can't figure out conditions to trigger layers using number variable
I am building an interaction manually. If you know of a way of having a "pick many" interaction where the answer is "none", then that is probably a quicker way to solve my problem than the below! :-)
I have three radio buttons representing possible answers. Learner is told to choose any answers that are correct. The answer is that none is correct so they should just click submit.
I want the learner to be allowed to have 3 attempts. I have a number variable with a default value of 0 and a trigger to add 1 every time the submit button is clicked.
- If they select none, show layer Yes!
- If they select one or more, and have had 1 or 2 attempts, show layer Maybe.
- If they select one or more, and have had 3 attempts, show layer NO! which will then give them the answer and move them on to the next slide.
I cannot for the life of me figure out the conditions I need to set. I have tried every permutation of counting attempts, greater than, less than. I can either get it to trigger the NO layer no matter what the learner selects, or to show Yes when nothing is selected and then get stuck in an infinite loop and showing the maybe layer when one is selected. The attempts are being counted correctly from what I can see.
WHAT AM I DOING WRONG???