added error on name input arrow keydown