Teacher form validation update