How to add a counter to the text entry of number of incorrect answers?
I am creating a very simple 3 slide quiz where on each slide I have one freeform text entry where user has to answer by inputting the specific text "YES".
the slide also has 5 green boxes - serving as a visual counter of wrong attempts. each time user types the wrong answer "anything other than YES" the green box turns red (i.e user is shown layer where the box is red in an array of boxes.)
User has 5 attempts, on the 5th - the correct answer should show.
If user has answered wrong
Here is what i did:
used graded question option to insert slide.
added 5 layers - named them try1 through try 5.
on each layer i placed 5 boxes with insreasing number of red boxes, until on layer try 5 all are red.
I also added a correct answer on the same layer and button continue to the next slide.
here are no issues
ISSUES are when i am trying to use triggers.
The variable was automatically created and was named Textentry
the trigger used ( 5 triggers)
Show Layer try2 when TextEntry changes, ifTextEntry is equal 2
I know i am doing something horribly wrong :)
need help please, variable/counters are not my strength.
Basically i need to know how to add/count the number of unsuccessful attempts used in a TextEntry field of the quiz - show "progress" , and display different layer at each time and show correct answer on the last one and move on to next slide when 5 attempts are reached by pressing continue button(this one i know)