I would like to request that you kindly add a dropdown list of states in Nigeria with another dropdown list for local government areas (sub administrative areas) which depend on a selected value from the states field. It should work in a such a way that when a state is selected from the dropdown list the component local government areas of the selected state drops down for selection automatically.
It will also be ideal to make the state field a required one rather than the city field. This is because cities depends on states in the Nigeria address format.
Many thanks to you guys for this great job.
Comments
Comment #2
goodmuyis CreditAttribution: goodmuyis as a volunteer commentedNot Sure this could happen in AddressField but you could try another module Multiselect if that helps, but you wont be using address fieldWas Wrong with the above, I have never create patch before so I will advice you manually edit the `addressfield.administrative_areas.inc` and add your states array as follows just above the return $administrative_areas;
-------
Sai Buhari
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedRetitling. Subadministrative areas are outside of scope for this module, but we can add the administrative areas (states).
We need a patch with the changes from #2.
I have validated the list, and found only one problem:
Shouldn't this be called "Federal Capital Territory"? It would also match the position in the list (Abuja alphabetically would be at the beginning, not in the middle)?
Comment #4
bojanz CreditAttribution: bojanz at Centarro commentedThere's an issue at #2540138: Add States For Nigeria.
Comment #5
ugintl CreditAttribution: ugintl commentedWhere to find the list of states of other countries to add like this?