Added validations to attendance policy form