Action and Variable problem with text entry field

I have a slide where the user is to enter information into a text entry field. Essentially it is acting like a fill-in-the blank question. There is a "check answer" button after they enter information in the field. It is supposed to work so that if they answer incorrectly a text box becomes visible asking this if they would like to try again. If they answer correctly the "try again" text box goes away and feedback on the correct answer becomes visible.


I have made this work by assigning actions to the "check answer" button that are related to the information in the text entry box. Using the text entry box variable, if one of several correct answers is submitted it should show the feedback and if none of the correct answers is selected it should show the "try again".


I have spent hours trying to make this work right and can't figure out why it won't. It works in run mode, but when deployed to html both the "try again" and "correct answer feedback" immediately show when the "check answer" button is clicked.


Any idea what I am doing wrong?

Discussions have been disabled for this post