text field to text type