This question already has an answer here:
- Address field or depenent taxonomies 1 answer
In Drupal 7,
I am using the postal address field to input my address, and then i used the geofield to geocode my location from the address field. Here, the geofield will converte my address into coordinates, i will use those coordinates to show my address on a map (ex. Leaflet map)
However, the problem is that the City field in the postal address is showing for users as a text box and so there is a big chance for any user to wrongly write his city name inside this text box and so his address it will not shown on the map.
See the attached image
To prevent such problem, i would like to replace the city textbox by a taxonomy reference where all the city in my country exist as terms and so the user will just pick up his city.
Any suggestion on how to accomplish the above ?!