validating a form submission without the use of a database