Using "and" and "or" in a single trigger and not evaluating as expected
I have built a multi-select that gives the learner 3 tries to get it correct. So I have two incorrect feedback layers to trigger. I am trying to use a combination of "ands" and "ors" in one condition and it's not evaluating as I would expect.
The logic is:
Show layer Feedback #1, if CorrectAnswer1 = false; OR CorrectAnswer2 = false; OR CorrectAnswer3 = false; AND variableTries < 3.
Show layer Feedback #2, if CorrectAnswer1 = false; OR CorrectAnswer2 = false; OR CorrectAnswer3 = false; AND variableTries = 3.
I have tried inverting the logic, so the AND condition comes before the OR's, but still doesn't work.
Also, I am displaying all variables on screen as I test, and they are in fact adjusting properly. But no matter what the variables actually equals, Feedback #2 will display. UNLESS I disable the trigger, and then Feedback #1 will display.
What am I doing wrong??
Thanks ahead for any help.