limits input length and sets it to autofocus
parses and normalizes user input