User Experience Stack Exchange is a question and answer site for user experience researchers and experts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Was wondering what is the general practice for filling in the town name in a form.

I have to use autocomplete as I'm using the information for geolocalization, so I can't let the user enter free text as there could be mistakes. The zipcode is needed to differentiate towns that have the same name.

Do people prefer filling in the zipcode or the name of the town ?

I came up with the following design, have not seen this anywhere before. Could it be confusing for the user ?

enter image description here

share|improve this question
Do people in france generally know their zip codes? Are they used to providing their zip codes for address details? – Zach Aug 4 '13 at 4:15
Yes everyone knows their postal code in France. It's mandatory when providing your address. The code refers to a mail delivery office, sometimes different towns can have the same code. – ThunderDev Aug 4 '13 at 11:58
Ehm... Google Maps autocomplete works exactly like that. The same goes for the OpenStreetMaps/Nominatim API. – kaiser Aug 4 '13 at 13:21
I've rarely ever seen a travel/airline website that didn't let you enter either airport name ("Paris" and then select) or IATA airport code (e.g. "CDG"), which is the equivalent of a zip or postal code, if you will. So no, I wouldn't think this is confusing. – Ulrich Schwarz Aug 5 '13 at 18:45
up vote 1 down vote accepted

That doesn't seem too confusing. Just remember that the zip code may be wrong for certain places, some places use postal codes, and there are many variables. Not all places will follow the same rules regarding postal/zip codes.

As long as you prepare for all of the variables, then it's not a bad idea. You could even have the zip code fill in another field automatically for city name, which allows them to edit it just in case it's incorrect.

share|improve this answer
My app is based in France which uses postal codes, so shouldn't have any problems with those rules. I'm basically assuming my towns database is correct so I'm not allowing the user to edit anything. You did not answer my first question, but I just realized this probably depends a lot on the country. Thanks – ThunderDev Aug 3 '13 at 14:40

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.