Hi – I threw together a quick example – essentially you have a text entry field, and you need to check that text field for the specific values. If caps or no caps are fine, then you need an action with 2 possible conditions per entry.
I put all the actions in one action group, and have that action group fire when the user clicks the enter key on their keyboard, or clicks the button on the screen. The action group hides all the text fields, then shows the proper field based on the user entry.
hope this helps!