The address field module currently does not capture Nigeria's address format properly.
Nigeria is divided into 36 states and has Abuja as the Capital.(https://en.wikipedia.org/wiki/List_of_capitals_of_states_of_Nigeria).

The default address format on address field module loads the following fields
Country (required)
Full Name (required)
Address 1 (required)
Address 2
City(required)
State
Postal Code
--------------------------------------------------------------------------------------------
The Proper Format should be
Country (required)
Full Name (required)
Address 1 (required)
Address 2
City
State (required, with dropdown list of states)
Postal Code

In essence,city should not be required.State should be required and have a dropdown list.I have included a text file that contains list of states in Nigeria.
I will be glad if you can make this change because it is really difficult to configure shipping with the current configuration.

Thanks

CommentFileSizeAuthor
STATES IN NIGERIA.txt359 bytesdoncheks
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

doncheks’s picture

Issue summary: View changes
bojanz’s picture

Category: Support request » Feature request

Reading the Universal Postal Union document for Nigeria: http://www.upu.int/fileadmin/documentsFiles/activities/addressingUnit/ng...
It confirms that Nigeria uses predefined states, and they seem to be required.

The UPU document doesn't confirm that the City isn't required.
Can you share a document which confirms that ? Preferably one issued by the Nigerian Post Office (from their website?)

There are two differences between the UPU document and your state list:
1) Akwa (UPU) / Akwa ibom (your list)
2) Federal Capital Territory (UPU) / Abuja (your list)

Looking at the ISO list at https://en.wikipedia.org/wiki/ISO_3166-2:NG it says "Akwa Ibom" for #1 and "Abuja Federal Capital Territory" for #2.
Do you have any information for which option would be most preferred for #2?

doncheks’s picture

Yes Nigeria uses pre-defined states and every address must be associated with a state to be valid.The issue of whether city should be required or not, is arguable but not so important since all cities are mapped to states.
Also,states and cities are used interchangeably.For instance Lagos is a state and is also a city.
Leaving City required helps to qualify the address more.I am not averse to that.

As per the discrepancies between the list I provided and the UPU document;I am well acquainted with Nigeria's states and I believe the UPU document has incorrect information.There is no such state as "Akwa" in Nigeria.The correct listing should be Akwa Ibom.(https://en.wikipedia.org/wiki/Akwa_Ibom_State).

Also Federal Capital Territory(FCT) is a descriptive name for the Capital, Abuja.Both names are synonymous and mean the same.Abuja is however more descriptive than FCT which is more like a designation for a territorial entity.

I have also sent a mail to UPU's contact desk noting these errors.

I was not able to get an official document to backup these assertions but the Nigerian Postal Service, website has a Post Office Locator that lists the states in Nigeria.Please see the drop down list at http://www.nipost.gov.ng/PostOffice_Locator.aspx

Thanks.

doncheks’s picture

Issue summary: View changes
bojanz’s picture

Status: Active » Needs work

A duplicate issue had the list of states that we can copy into a patch: https://www.drupal.org/project/addressfield/issues/2883682#comment-12132260