Webform Redis Limit Handler limits the total number of submissions a webform accepts. It keeps the count in Redis and reserves each slot with an atomic increment, so many people submitting at the same moment cannot exceed the limit.
Typical uses: event or class registration with limited seats, limited offers, and campaigns that must stop at a fixed number of entries.
Features
- Set a total submission limit per webform. Leave it empty to disable the limit.
- Only completed submissions take a slot. Wizard pages, previews, drafts and edits of existing submissions do not.
- Deleting a completed submission frees its slot.
- Custom warning message, shown on the form once the limit is reached and when a submission is refused.
- View, adjust or reset the current counter from the handler settings.
- If the Redis key is missing, the counter is rebuilt from the completed submissions stored in the database.
- Submissions made through code or an API are limited too.
- Redis keys use the same prefix as the Redis module, so sites sharing a Redis server do not overwrite each other.
Requirements
Configuration
- Open the webform's Settings > Emails / Handlers page.
- Add the Redis limit submission handler.
- Set the Total limit and, optionally, a Warning message.
Notes for developers
For programmatic submissions (for example WebformSubmissionForm::submitFormValues()), validation fails once the limit is reached. A save that cannot get a slot throws SubmissionLimitReachedException.
Limitations
- The limit is a total per webform, not per user or per source entity.
- The form stays visible after the limit is reached; submitting it is refused.
- The counter is rebuilt from stored submissions. If saving results is disabled, losing the Redis data resets the count.
Project information
3 sites report using this module
- Created by hoanglv on , updated
Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
1.1.1
released 27 November 2026
Works with Drupal: ^10.1 || ^11 || ^12
Apply the submission limit to API submissions
Install:



