switching to a text input