12-16-2007, 08:36 AM
|
#26 (permalink)
|
|
The Contributor
Join Date: Dec 2007
Location: Belgium
Posts: 60
Thanks: 6
|
Quote:
Originally Posted by webosb
Is there a way to make the Postal Code validation work internationally?
|
No, not in one regex at least. What if you enter only digits (valid Australian zip) but you live in the UK? The regex can't know.
So, first make sure you know what country the user is from. Then load the corresponding regex to validate zip.
|
|
|
|