Using HTML5 form validation feature