Added basic HTML5 form validation