Fixed issue with arrow keys triggering the form validation error message.