This module enhances Webform by adding submission limits to forms based on numeric input fields. It allows you to restrict registrations not just by the total number of submissions, but by summing values from number fields, such as counting registered individuals and their guests. Two handlers are provided: one for a general numeric limit and another for limits that vary based on selected options.
This module provides Webform handlers that allow forms with a number element to have submission limits based on the sum of those numbers. It's similar to the Options/Checkbox limit handler provided by the Webform Options Limit official submodule, but instead of counting every submission as 1, it allows that number to be taken from a number element.
A practical application would be a registration form with the possibility to not just register yourself, but to also bring a certain amount of guests, while making sure those guests also count towards the maximum amount of registrations.
Post-Installation
After installing the module, add one of two Webform handlers to your webform. The Number limit handler can be used to set a maximum amount of registrations per form, while the Options/Checkbox with number limit handler can be used to set a different maximum amount of registrations depending on the chosen option of a certain options or checkbox element.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Release Timeline
Releases
| Version | Type | Core | Notes | Release date | |
|---|---|---|---|---|---|
| 1.1.0 | Stable | 9–11 | Allow a WebformComputedTwig as a number value | Mar 18, 2026 | |
| 1.0.0 | Stable | 9–11 | First stable release. | Jun 3, 2025 | |
| 1.0.0-beta5 | Pre-release | 9–11 | Allow choosing an options element as number element. | Apr 4, 2025 | |
| 1.0.0-beta4 | Pre-release | 9–11 | Fix some bugs. | Jan 22, 2025 | |
| 1.0.0-beta3 | Pre-release | 9–11 | Add missing dependency on webform_options_limit. | Jan 21, 2025 | |
| 1.x-dev | Dev | 9–11 | Jan 21, 2025 | ||
| 1.0.0-beta2 | Pre-release | 9–11 | Add Drupal 11 compatibility. | Nov 25, 2024 |