Add text fields behavior