Correction, here are the things I need out of this numeric field:-only 9 digits, error message if they do not iput total 9 digits and it not allowing more than 9-allowing leading zeroes, but not autofilling the leading zeroes if they don't input enough. i used your above code, and put num{999999999}...