By himangshu.dutta19 on
Hello,
I am trying to create a small module where i have listed all the country names in a select box, while selecting the country all the states belongs to that country lists in the second drop down. I have to display the city name belongs to the state belongs on the second drop down then the latitude and longitude on select of the city. I have used ahah method to list the second dropdown(state names). Can anyone please help me out how to list the city names on select of state name?
Thanks
Himangshu
Comments
Hi Himangshu, how's the state
Hi Himangshu,
how's the state of this? I'd be interested in such a module.
Thanks
I've been looking for it too
Would be nice to have this function both on user/register page and also at the webform module pages.
I've tried to make a customized script add but had problem with it. Adding javascript to head isn't a problem. But I don't find a solution to add the part onchange="setStates();" or onchange="setCities();" to the particular select tags.
To make a module you should in the beginning limit the country list to European countries, their regions and bigger cities.
Regards
Miccelito