Allows for placing a limit on the total number of values a webform element can accept across all submissions.
Features
- Place limits on any multi-value webform element (including multi-value composite elements)
- Customize action taken when the limit is reached (remove element / disable element / nothing)
- Customize messaging surrounding the values-limited element (including message placement)
- Monitor current progress of all values-limited elements in the webform on a dedicated results sub-tab
Post-installation
1. Set up a webform with a multi-value input (set "Allowed number of values" to unlimited or greater than 1)
2. Go to Settings -> Emails / Handlers for the webform and add a new "Element values limit" handler
3. Under "Limit settings", select the multi-value element you wish to limit, how many values (across all submissions) it should be limited to, and what action to take once the limit is reached.
4. Configure messages and message placement under "Message settings". Include dynamic placeholder tokens like "@limit", "@total", "@remaining", and "@label" in your messages if desired.
Additional requirements
The Webform module must be installed.
Similar projects
Webform includes a sub-module, Webform Options Limit, which is similar, but places limits on specific options within an element. Webform Options Limit served as a template when writing this module, and as such, the two are similar in many ways.
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Webform ecosystem
Most installed first
Activity
Release Timeline
Releases
| Version | Type | Core | Release date | |
|---|---|---|---|---|
| 1.0.0-beta2 | Pre-release | Mar 13, 2024 | ||
| 1.0.0-beta1 | Pre-release | Mar 13, 2024 | ||
| 1.0.x-dev | Dev | Mar 13, 2024 |