Better validation of values entered into the form.