How can I restrict the number of numbers that can be typed into a form?