Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

How easy (or difficult) is it to have a Continent/Country/City drop down menu? W

ID: 649229 • Letter: H

Question

How easy (or difficult) is it to have a Continent/Country/City drop down menu?

Where one select from Drop Down Menus (for example):

1 - Europe

2 - UK

3 - London

and then writes the Province/Area (for example: Essex).

Realistically, how long should it take an experienced web developer to write the code of the above, as well as to link this selection to a Browse function and database storing?

I do not have a geographical database yet and I am wondering what the fastest and cheapest way to add it to the drop down menu is. Is there any way to get that geographical database for free?

I can see this type of geographical drop down menu in thousands of websites, but I am struggling as to how to implement it ASAP.

Follow Up: Tks All x your answers and comments so far. I hear what you are saying. I understand that there are rare occasions of Countries with multiple (same) name Cities and that it might be disputable whether a Country belongs to a certain Continent/Region or not (see Russia x example, Europe or Asia?). Anyway, please take a look, for instance, at this website Sign UP screen. My question then is: Where do I get that list (Country/Cities) and how do I create that _array? Manually copying it somewhere else (which would take me ages) or are there ready made lists that can be downloaded from somewhere for free?

Explanation / Answer

This is such a common scenario when developing a public web application nowadays.

To answer your question, directly, it shouldn't take an experienced developer more than a few hours to implement a typical address form.

That said, the typical address form has dropdowns for Country and State/Province, but not City or Continent. City is always text entry, and Continent is normally not represented. This is true even of your couchsurfing.org example.

As for the data, I use Country and State/Province lists derived from ISO 3166-1/2

Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
Chat Now And Get Quote