How can I make sure a user enters the correct number in a field