change caption to text field