Add "Protect all Webforms" options to Honeypot's global module config

Created on 2 September 2025, 7 days ago

Problem/Motivation

Currently, Honeypot protection can be enabled for a Webform by checking "Protect [FORMNAME] webform with Honeypot" under the Webform’s Third party settings. However, this requires manual configuration for each Webform.

This adds friction for site builders and editors—especially non-technical users—who may not be aware of the need for Honeypot protection or may forget to configure it. As a result, Webforms can be left unprotected.

A global setting would ensure consistent protection without additional training or manual steps, and so that admins don't have to remember to add it individually.

Proposed resolution

When the Webform module is enabled, add a global checkbox to the Honeypot settings page:
"Protect all Webforms with Honeypot"

  • When this option (protect_all_webforms) is enabled, Honeypot protection applies to every Webform automatically.
  • The per-Webform checkbox in Third party settings should then be disabled, mirroring how the Webform time limit setting is disabled when a global time_limit of zero is set.

Remaining tasks

User interface changes

API changes

Data model changes

Feature request
Status

Active

Version

2.2

Component

Code

Created by

🇪🇨Ecuador jwilson3

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024