The addressfield_tokens module extends the addressfield module by adding full token support. It also adds some convenient addressfield formatters and provides a webform addressfield integration.



  • Attaches tokens to every addressfield type within every entity.
  • Creates a token for every addressfield component, including name, organization, thoroughfare, premise, locality, postal_code, and country.
  • Allows token names to be configured for your locale (e.g. "thoroughfare" could be displayed as "Street 1" in the token table).
  • Creates additional tokens:
    City, State
    Full address with formatting.
    Full address without formatting, all on one line.
    The full name of the country.
    The full name of the state (applicable for countries where states have abbreviations selectable from a select list).
    A full address with each component separated by double-spaces, compatible with the MailChimp API.

Here's an example of the all the provided tokens, with locale customizations for the U.S.

Field Renderers

City, State:
The city and state separated by commas, with the country appended if not the default country.
One line:
The full address without formatting, suitable for display in CSV export views.
displays only the country.
displays only the fullname of the state or administrative area.
select which components of the address should be displayed, and the separator that should be used between them. The components include both the abbreviated and full versions of the state and country.

Web Forms

  • Integrates with webforms to create address fields.

Theme functions

Renders an address using the default generator associated with the given handler (the ctools plugin name).
Renders only the city, state and country separated by commas
Renders each of the addressfield components as single line, separated by commas.
Renders any of the address components, separated by a given separator.

Each theme function can also be overridden per country. For instance, theme_addressfield_formatter__citystate__us


Integrates with


This module is provided by New Signature.

Project information