basic html5 client-side form validation: required attr for required fields