Handle input id while "enter" key pressed.