Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

pgbar

Security covered Under active development 37 sites

This module allows you to display animated progress bars on webforms based on the number of submissions. You can configure the progress bar's target number and choose the data source for the count, such as the total submissions for that webform or the sum of a specific component across all submissions.

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).

Ask your assistant about pgbar

Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works

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
1
Tracked since
Dec 2024
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Dormant

Releases

Version Type Core PHP Release date
7.x-2.12 Stable Dec 3, 2024