Hi everyone
I'm new to the group and relatively new to Drupal but am learning quickly.
My main bug-bear at the moment and something that is driving me crazy is how to create a simple user entry whereby they can select from a drop down a UK region and then city (the city drop down should relate to the region if possible). I need this because the whole website is based around user location for survey requirements.
I've been pulling my hair out with 'Location' and 'CCK' etc but I cannot get them to do this. At best, after discovering various problems with these systems and using some patches I've managed to get 'State/Province' in the Location module to show cities, dynamically, but it just isn't really the preferred system. I've also got Google Maps working but again it's not really the ideal solution. I really thought this would be something that would be quite easy to do.
If anyone can advise or point me in the right direction it would be very much appreciated and would perhaps prevent me from throwing my self off a bridge ;-)
Thank you
Stephen
Comments
At best, after discovering
What doesn't it do that you want it to?
Hi Steven The whole setup at
Hi Steven
The whole setup at the moment (unless I'm wrong) is Americanized and hence 'City' does not pull anything through, however the field after 'State/Province' does actually pull all the cities through which looks a little unprofessional for UK users. Also, there appears to be no connection with Regions i.e. West Midlands pulling though Birmingham.
Ideally the State/Province field would read 'Regions/Areas' and the Cities field would pull in the cities (once you had selected a region/area.
Another problem is that the field that does pull data through i.e. 'State/Province' is using AJAX (I think) and makes suggestions on 'keystrokes'. The main issue here is this is not obvious to users and it would be quite easy for them to type in an incorrect location and proceed without a warning being provided.
I'm just finding this part very difficult. I just simply want two fields for users, 'region/area' & 'city' which should be dynamic drop-downs so when they select "West Midlands' for instance, the 'city' field automatically pulls up the associated locations.
Hmm...you might want
Hmm...you might want something like http://drupal.org/project/hierarchical_select and a simple taxonomy of cities grouped into regions?
thanks for the advice steven.
thanks for the advice steven. Ill take a look.