Requiring validation before submission.