Fixed form validation.