How to set maximum value for option in grading field