Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Sodium 3.0.2 Minor update available for module sodium (3.0.2). Release: Snipper 1.0.4 Minor update available for module snipper (1.0.4). Release: X-Frame-Options Allow-From webvisor.com 2.0.2 Minor update available for module xframe_allow_webvisor (2.0.2). Release: Swagger UI Info 2.0.2 Minor update available for module swagger_ui_info (2.0.2). Release: Contact Mail 2.0.4 Minor update available for module contact_mail (2.0.4). Release: Varbase Webform Base 1.0.1 Minor update available for module varbase_webform_base (1.0.1). Release: BootBase 2.0.3 Minor update available for theme bootbase (2.0.3). Release: URL Rewriter 1.0.0-alpha4 New alpha version released for module url_rewriter (1.0.0-alpha4). Usage Milestone: Term CSV Export Import Module term_csv_export_import crossed 1,000 active installs. Module Revived: Year/Month Widget 1.1.3 Module year_month_widget updated after 9 months of inactivity (1.1.3).

Loqate (Address Capture)

384 sites Security covered Drupal 9–11
View on drupal.org

This module provides address lookup functionality using Loqate. It integrates with Drupal forms, fields, and Webforms, allowing users to easily search for and select addresses. It also offers support for the Address module for seamless integration.

This module integrates Loqate (previously PCA/Addressy) address lookup with Drupal. It adds a Form element, a field type and widgets, optional Webform elements, and Address module support for both forms and field widgets.

Requirements

  • Drupal 9, 10, or 11
  • Key - stores the Loqate API key securely (Key).
  • A Loqate API key from your Loqate account (Create an API Key).

Optional dependencies

  • Address - required by the PCA Address submodule (pca_address) for Address field integration (Address).
  • Webform - required by the PCA Webform submodule (pca_webform) and for the Loqate address Webform element (Webform)

Installation

  1. Install the module composer require 'drupal/loqate:^3.0'
  2. Add the API key /admin/config/services/loqate-api

Usage

Form element

// Use #type "pca_address_advanced" for the Address module variant.
$form['shipping_address'] = [
  '#type' => 'pca_address',
  '#title' => $this->t('Shipping Address'),
  '#show_address_fields' => FALSE,
  '#allow_manual_input' => TRUE,
];

Please see the documentation for more details.

Field widget

Address module support

Install the pca_address submodule to enable Address module support for both a FormElement (Form API) and field widget. The field widget can be used on the Address module's address field type.

Webform element

  1. Enable the pca_webform submodule
  2. Go to your Webform and select the element type called "PCA address" which you can find under "Composite elements".
  3. drush cr

Address Field Lookup support

This is being worked on in #2997232: Address module support via Address Field Lookup.

Documentation

Similar modules

Depends on

Dependencies of the latest stable release

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
4
Tracked since
Mar 2026
Latest release
5 months ago
Releases (12 mo)
4 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
3.0.4 Stable 9–11 Apr 3, 2026
3.0.3 Stable 9–11 Mar 30, 2026
3.0.2 Stable 9–11 Mar 29, 2026
3.0.1 Stable 9–11 Mar 16, 2026