Modify to give text field a name.