You need to show the lines of code that are checking the contents of the number field.