Add a very basic validation to the form