Address Field defines a new field type to store international postal addresses, implementing a subset of the address elements defined in the xNAL standard (see the glossary below). The field configuration lets you determine which elements of an address should be present in the field widget form and which ones should be rendered for display.

This module was initially developed to support address storage in Drupal Commerce customer profiles, but it is now used by a wider variety of modules dealing with physical addresses and mapping.

Features

  • Standardized storage of international postal addresses based on the xNAL standard (the same format used by Google Maps for geocoding)
  • Per-country edit form and formatting of addresses
  • Proper formatting of address forms and output on a country by country basis as they are added to the module; see the address formats issue queue for pending country support
  • Feeds integration for address importing

This module does not store or manipulate geographic coordinates or integrate with GIS systems, but it works well in conjunction with modules that do, like Geocoder. It currently does not provide vCard / hCard output, but the issue queue contains open issues for pursuing such support.

Glossary

As mentioned, this module uses the xNAL (Extensible Name and Address Language) vocabulary for describing address information. The terms used to designate various parts of an address may not be immediately recognizable, so this quick glossary equates the address parts in xNAL to their equivalent U.S. address terms (with some being self-evident):

  • country => Country (always required, 2 character ISO code)
  • name_line => Full name (default name entry)
  • first_name => First name
  • last_name => Last name
  • organisation_name => Company
  • administrative_area => State / Province / Region (ISO code when available)
  • sub_administrative_area => County / District (unused)
  • locality => City / Town
  • dependent_locality => Dependent locality (unused)
  • postal_code => Postal code / ZIP Code
  • thoroughfare => Street address
  • premise => Apartment, Suite, Box number, etc.
  • sub_premise => Sub premise (unused)

Downloads

Recommended releases

Version Downloads Date Links
7.x-1.0-beta4 tar.gz (59.8 KB) | zip (67.27 KB) 2013-May-07 Notes

Development releases

Version Downloads Date Links
7.x-1.x-dev tar.gz (59.81 KB) | zip (67.28 KB) 2013-May-08 Notes

Project Information


Maintainers for Address Field

  • rszrama - 38 commits
    last: 2 weeks ago, first: 2 years ago
  • Damien Tournoud - 46 commits
    last: 1 year ago, first: 3 years ago

Issues for Address Field

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
Statistics (2 years)
New issues
Open bugs
Participants