What is the best way to deal with address inputs that can be from multiple countries?
Posted
by Andrew.S
on Stack Overflow
See other posts from Stack Overflow
or by Andrew.S
Published on 2010-05-20T00:05:00Z
Indexed on
2010/05/20
0:10 UTC
Read the original article
Hit count: 138
Most of my websites in the past have been rather limited to the United States when it came to displaying addresses. On a project I'm working on right now, however, users can add events from all over the world. My problem is how to go about dealing with the different way in which addresses are displayed across the world. For example, City/State/Zip is just a US thing.
I was figuring I would alter the inputs displayed based on the country selected but I have no idea how I'm supposed to know the way every single country does addresses.
Ideas?
© Stack Overflow or respective owner