[MX2004] How do I check user input

I have a quiz where a user must enter a letter (A, B, C) into an input text field labeled answer1. When they click check answer, I need to have feedback that says correct or incorrect. I need to know how to do this. My check answers button is apparently not reading what the user has input.

Make a dynamic text box named “feedback”. In the answer button put:


on(release){
if(_root.answer1.toLowerCase() == _root.correctAnswer.toLowerCase()){
_root.feedback = "Correct";
}else{
_root.feedback = "Incorrect";
}
}

But this means you need a variable with the correct answer

I already have the text box with feedback. that is not the problem.
The code on the button is not reading what the user input. I used the code above and made a variable with the correct answer. Still nothing. any other ideas?