added keydown event to auto focus field input