correct values for length
text box rules for no. of students

made the text box only accept numerical values