Trimming zero from zip code

My forms include a ZIP code text field. If I submit a value that starts with a zero, like 01234, the 0 from the beginning of the string gets stripped before submitted. Is there a fix for this?