Automatically focus the text input field on error.