Register return/enter event on input text field