Hi,

I've just checked in a mx style PostCode formatter into my whiteboard area.

I took a different approach than the current zip code formatter in that it uses 
the validator to check the format. It also works for multiple formats eg UK 
style postcode.

It will also correct a wider set of incorrectly formatted postcodes by 
inserting or swapping any spacing characters (currently hyphens and spaces) as 
required.

Feedback is welcome.

Enjoy!
Justin

Reply via email to