use validateText() to validate stuNo stuName & stuClass