Install

Works with Drupal: ^10 || ^11

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 81.18 KB
MD5: 2d56b2e98bbf89aa59e4d98098b1253d
SHA-1: a7a80363d2430014d054a3a1489e6b788637c214
SHA-256: b75e18a389edec4c498d0b7d8a235e8ee7baa452f286739f4477bfa7933d3b24
Download zip 153.48 KB
MD5: 35d526ca2830abddd5b47525adae8155
SHA-1: b0ea7871c5718bca598c9ca26f07e08029b3059e
SHA-256: d27f917e564c25345a44f08b9565923c4232a61610d5c4bc0da0c843d014549b

Release notes

This is the first stable release and is covered by the security advisory policy.

About

This module provides additional configuration, styling and components for the Drupal Webform module, built to work with the with LocalGov Drupal distribution.

Additional components

  • LocalGov Forms Date - A date input field based on the GDS Date Input pattern
  • LocalGov address lookup - Webform element with a configurable address lookup backend. Geocoder plugins act as backends.

Plugins

Personally Identifiable Information (PII) redactor from Webform submissions: At the moment, a plugin manager plugin.manager.pii_redactor and a sample plugin are provided.

Install

PLEAE NOTE: By default, on initial install, localgov_forms will update the default webform.settings config:

Specifically, it:

  • Enables Ajax by default for forms (individual forms can override this).
  • Enables submit-once (prevents double button presses / slow connection retries etc.)
  • Disables the browser back button during submission
  • Warns about unsaved changes
  • Enables the submission log.
  • Sets plain-English defaults for the confirmation message
  • Removes chevrons from wizard/preview button labels.
  • Excludes a range of webform elements that are less likely to be used so the UI is easier for editors to navigate.

If you have already installed Webform and wish to preserve your existing settings, add the following to settings.php before installing this module (it can be removed afterwards):

$settings['localgov_forms_skip_webform_config'] = TRUE;

Known issues

There is a known bug where the address lookup element throws an error if the LocalGov Forms webform settings are not included at install time. See more at #3584172

Created by: finn lewis
Created on: 3 Jul 2026 at 13:30 UTC
Last updated: 3 Jul 2026 at 13:30 UTC
Bug fixes

Other releases