Apply form validations