limit number of digits to enter