leading zero's in text box
How do I get a text box to add leading zero's to any number entered. So the text box will be 9 characters max in length. If a user enter 5 numbers, I would the other 4 numbers to be leading zero's. For example, if a user entered 12345, I would like the result when the web form is submitted to look like 000012345.