utilizing html form validation