Basic form validation.