Added functionality for pressing Enter key to submit text field form