glepiza
asked on
country and city list for Drupal7
Dear experts,
I would like to create a content type field inside users profile page that drops down a country list (like a hundred countries), then depends on which country is selected then only display cities in the second drop down list.
Could you please help me to see what would be the best way to do this?
Thanks in advance,
Winter
I would like to create a content type field inside users profile page that drops down a country list (like a hundred countries), then depends on which country is selected then only display cities in the second drop down list.
Could you please help me to see what would be the best way to do this?
Thanks in advance,
Winter
You can use geonames as a webservice or download 8million cities to your hearts content. I would try the webservices first http://www.geonames.org/
ASKER
Cool thanks, do you know how can I add it as a content type field?
I'm sorry, I answered this on the basis of knowing the data and possibly using ajax/jquery to do a look up. However, I found there is a geonames module https://drupal.org/project/geonames. Perhaps somebody else with more drupal experience can chime in.
Does that link look like it provides what you are looking for?
Does that link look like it provides what you are looking for?
ASKER
Hi padas,
Well, I installed the module, but can´t see how can I added as a content type. Still digging it :)
Well, I installed the module, but can´t see how can I added as a content type. Still digging it :)
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks! that is what I was looking for