Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page.
I can see EnterKeyPressed option for Textbox widget. But it is not there for numericEntry widget. Any widget available with EnterKeyPressed which accepts only numbers.
You need to create a custom widget which support both functionalities.