Validate the form.

Simple form validation.