validation for schedule name on teacher availability