Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
What does it do?
pgbar is a simple module that enables you to render progress bars based on the number of submissions on a webform. The progress bars are animated using a simple javascript. It also contains a simple set of default styles, ready to be extended/overridden.
How does it work?
It consists of:
- A theme/JS part that handles the actual display
- A custom field-type that allows to configure the display and the target number on a per-webform basis.
- A ctools based plugin system for defining counter sources (aka "where does the current count for the progress bar come from?").
Plugins currently exist for the following counter sources
- null: manually set the counter
- webform submissions: count the number of the current webform (and its translations)
- webform component sum: calculate the sum of a webform component (specified by form_key) over all webform submissions on this node (and its translations).
Project information
- 69 sites report using this module
- Created by torotil on , updated
- Stable releases for this project are covered by the security advisory policy.
Look for the shield icon below.
Releases
7.x-2.11
released 19 September 2023
Works with Drupal: 7.x
✓ Recommended by the project’s maintainer.
fix jumpy initial animation