Count
Gravity Forms count tasks don’t have to be manual. The GravityWP Count add-on lets you count entries or sum a Number field across entries with a simple shortcode. You can filter by date, user, approval status, or Gravity Flow step and format the result for display on your site. If you need to analyse form submissions, consider this add on features to quickly gather the totals you need.
Gravity Forms Count Features
- Simple Shortcode:
Use a shortcode for Gravity Forms count to output the number of entries or the sum of a Number field across entries. - Filter which entries should be counted:
Apply filters (dates, user, approval, Gravity Flow) for accurate entry totals. - Basic calculation operators:
Multiply or add/subtract the count result as needed. - Custom decimal point and thousands separator:
Set the decimal point and thousands separator in the shortcode; this is particularly useful when displaying Gravity Forms count values to your visitors. - Count multiple forms:
Count entries (or the total of a number field) for multiple forms. - Filter on relative dates:
Use ranges like ‘-1 week’ or ‘1 month ago’ for weekly or monthly entry counts.
“This plugin pairs beautifully with GravityView. I was able to sum rows of similar entries on the front end of Multiple Entries table. Perfect if you need to track the sales of individual sales people, order amounts from similar customers, etc.”
~rochekaid
“Love this plugin… allows you to take data that’s otherwise likely to be forgotten and bring it to the centre of your website.”
~pseudostave2
Most simple shortcode
Most simple version of the shortcode (display number of total entries Gravity Forms for a form): This shortcode helps you easily calculate the Gravity Forms count for any of your forms.
[gravitywp_count formid='']
Most extensive shortcode
The most extensive version of the shortcode (display the total count of a number field from multiple Gravity Forms entries with up to five filters and input for number of decimals, the decimal point notation and the thousand seperator, etc, etc): For more complex needs involving Gravity Forms, count multiple fields and apply advanced filters through this shortcode.
[gravitywp_count formid='' formstatus='' number_field='' filter_mode='' filter_field='' filter_operator='' filter_value='' filter_operator2='' filter_field2='' filter_value2='' filter_field3='' filter_operator3='' filter_value3='' filter_field4='' filter_operator4='' filter_value4='' filter_field4='' filter_operator4='' filter_value4='' decimals='' dec_point='' thousands_sep='' is_read='yes' is_approved='yes' is_starred='no' page_size='1000' created_by='1' multiply='2' start_date='12/31/2016' end_date='12/31/2017' workflow_step='' workflow_step_status='complete' workflow_step_is_current='true']
“Simple plugin that delivers powerful results. Big thanks to the developers!!!”
~Chapmanmarketingsolutions
Gravity Forms Count – FAQ
Yes. You can use chart/calculation tools like GFCharts with custom JavaScript to change the output format or number value. Count focuses on a simple shortcode to return a total fast.
When GravityView is active, you can count only approved entries.[gravitywp_count formid="2" number_field="4" is_approved="yes"]
You can also filter the entry count by Gravity Flow step or status.[gravitywp_count formid="2" workflow_step="5"]
Use the basic shortcode:[gravitywp_count formid="2"]
Provide the Number field ID:[gravitywp_count formid="2" number_field="4"]
Yes use absolute or relative ranges:[gravitywp_count formid="2" start_date="-1 week" end_date="now"]
Control precision and separators in the shortcode:[gravitywp_count formid="2" number_field="4" decimals="2" dec_point="." thousands_sep=","]
Yes apply a simple multiplier:[gravitywp_count formid="2" multiply="2"]
Related Resources
GravityWP Count add-on Documentation Page. For more information on using Gravity Forms count functions, see the official documentation.