Pad Input Value with Leading Zeroes

This is an example of padding an input out to a fixed number of places with leading zeroes.

 


You can copy the page html from the textarea below and save it to your local system.