Switching to HTML5 form validation for "text" and "select" fields.