get the text in the text field