Adding new validation for the form.