Skip to main content
Drupal is a registered trademark of Dries Buytaert
Release: Views Bootstrap 5.5.4 — Minor update available for module views_bootstrap (5.5.4). Release: Rightup theme 1.0.3 — Minor update available for theme vartheme_bs5_rightup (1.0.3). Release: CommentOn 1.0.6 — Minor update available for module commenton (1.0.6). Release: ChatGPT Ads 1.0.3 — Minor update available for module chatgpt_ads (1.0.3). Release: Opensolr Search 5.1.3 — Minor update available for module opensolr_search (5.1.3). Release: ServiceM8 Webform Integration 1.2.1 — Minor update available for module servicem8_webform (1.2.1). Release: PostfixAdmin 1.0.0 — Initial release available for module postfix_admin (1.0.0)! Release: ip_analyser 1.0.3 — Minor update available for module ip_analyser (1.0.3). Module Revived: Swagger-PHP OpenAPI 3 documentation generator 1.0.0 — Module swagger_php updated after 10 months of inactivity (1.0.0). Security Coverage: Microsoft Azure AI — Module ai_provider_azure now has official Drupal security advisory coverage.

Webform Element Values Limit

No security coverage

Part of the Webform ecosystem · 161 projects

View on drupal.org

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.

Activity

Tracked releases
3
Tracked since
Mar 2024
Latest release
2 years ago
Releases (12 mo)
0
Maintenance
Dormant

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