Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: OpenID Connect / OAuth client 3.0.0-alpha9 New alpha version released for module openid_connect (3.0.0-alpha9). Usage Milestone: Google Analytics Module google_analytics crossed 1,000 active installs. Release: Timelinr 1.0.1 Minor update available for module timelinr (1.0.1). Release: GraphQL Compose Codegen 1.1.2 Minor update available for module graphql_compose_codegen (1.1.2). Release: Mapy.com 1.1.3 Minor update available for module mapycom (1.1.3). Release: Ckeditor5 entity browser 3.0.3 Minor update available for module ckeditor5_entity_browser (3.0.3). Release: Ckeditor5 entity browser 3.0.1 Minor update available for module ckeditor5_entity_browser (3.0.1). Release: Ckeditor5 entity browser 3.0.2 Minor update available for module ckeditor5_entity_browser (3.0.2). Release: Teamleader Integration 4.0.2 Minor update available for module teamleader (4.0.2). Module Revived: Entityqueue Buttons 1.1.2 Module entityqueue_buttons updated after 8 months of inactivity (1.1.2).

GSearch (Dataforsyningen)

278 sites Security covered Drupal 10–11
View on drupal.org

This module adds Danish address support to Drupal, allowing you to include address fields on various entities. As users type, it provides live suggestions from Denmark's official address register, storing normalized address details including postal code, city, and coordinates upon selection. It also offers an option to allow free-text input for addresses not found in the official register.

GSearch (Dataforsyningen) adds Danish address support to Drupal using the official Dataforsyningen GSearch API.

It provides a dedicated field type so you can add address fields to content types, user profiles, or any entity. Users type an address and get live suggestions from Denmark’s official address register.

Choosing a suggestion stores a normalized address plus postal code, postal name, and latitude/longitude.

The module is aimed at Danish sites that need correct, structured addresses (e.g. branches, events, contacts) without manual entry of street, postnummer, and city.

This is a replacement for the DAWA service, that will be shut down July 2026

Features

  • Autocomplete input
    The field widget uses Select2 module for a searchable dropdown. As users type, the module queries the GSearch API and shows matching Danish addresses. Users pick one suggestion or, if allowed, enter free text (e.g. international addresses).
  • Optional free-text mode
    Per-field setting “Allow storing free-text addresses” lets the field accept any text when the input is not found in GSearch (useful for non-Danish or informal addresses).

Post-Installation

  1. Get a Dataforsyningen token
    Create a user and token at dataforsyningen (It's free!).
  2. Configure the module
    Configure the module at /admin/config/gsearch/config - insert your token, and it will automatically be validated.
  3. Add the address field
    • Edit a content type (or any entity type that supports fields).
    • Add a new field, choose "Address Dataforsyningen/GSearch", and complete the field settings.
    • Optionally enable “Allow storing free-text addresses” if you need non-Danish or unvalidated addresses.

Users type (e.g. street name or postnummer); suggestions load from GSearch.

They select one or, if free-text is allowed, type a custom value. Saved values are normalized and include postal code, postal name, and coordinates when available.

Similar projects

As mentioned, this replaces address_dawa which will be useless after July 2026.

Sponsors

This module has been developed by Reload, paid for by the Copenhagen Public Libraries and Danish Public Libraries

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
11
Tracked since
Feb 2026
Latest release
3 months ago
Releases (12 mo)
11 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core Release date
1.2.2 Stable 10–11 May 11, 2026
1.2.1 Stable 10–11 May 10, 2026
1.2.0 Stable 10–11 May 10, 2026
1.1.0 Stable 10–11 Apr 7, 2026
1.0.7 Stable 10–11 Feb 21, 2026
1.0.6 Stable 10–11 Feb 20, 2026
1.0.5 Stable 10–11 Feb 17, 2026
1.0.4 Stable 10–11 Feb 17, 2026
1.0.3 Stable 10–11 Feb 17, 2026
1.0.2 Stable 10–11 Feb 17, 2026
1.0.1 Stable 10–11 Feb 12, 2026