Newbie help

I can’t seem to find how to create a string to validate a text input box. I want a text box that will verify “The Cow is Brown” as a user types it in and move to another text box (or keyframe) once the string is valid… hopefully without a button.

Does anyone have any ideas?

Well um, create an input field and add an eventlistener to it that listens for TextEvent.TEXT_INPUT and compare its content with “The Cow is Brown”