GravityWP Count

  • Not required. Stay updated!
  • What's your age?
  • Please enter a value between 1.00 and 99.99.

Example [gravitywp_count]: 14,940  (counts all entries for all forms!)

Example [gravitywp_count formid="2" number_field="4"]:
4,680.47

Example [gravitywp_count formid="2" number_field="4" multiply="5"]:
23,402.37

Example [gravitywp_count formid="2" number_field="4" multiply="0.5"]:
2,340.24

Example [gravitywp_count formid="2" number_field="4" page_size="8"] (page_size standard is 500):
111.67

Example [gravitywp_count formid="2" number_field="4" created_by="4"]:
40.00

Example [gravitywp_count formid="2" number_field="4" created_by="current"]:
0.00

Example [gravitywp_count formid="2" number_field="4" is_starred="yes"]:
44.56

Example [gravitywp_count formid="2" number_field="4" is_starred="no"]:
4,635.91

Example [gravitywp_count formid="2" number_field="4" is_read="yes"]:
82.33

Example [gravitywp_count formid="2" number_field="4" is_read="no"]:
4,598.14

Example [gravitywp_count formid="2" number_field="4" add_number="100"]:
4,780.47

Example [gravitywp_count formid="2" number_field="4" add_number="-100"]:
4,580.47

Example [gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer"]:
2,311.66

Example [gravitywp_count formid="2" number_field="4" filter_field="3" filter_operator="isnot" filter_value="IT developer"]:
2,368.81

Example [gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" decimals="6" dec_point="," thousands_sep="."]:
2.311,661838

Example [gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" decimals="6" dec_point="," thousands_sep="."]:
2.311,661838

Example [gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" filter_field2="5" filter_value2="41 and older" decimals="2" dec_point="." thousands_sep=","]:
350.03

Example [gravitywp_count formid="2" formstatus="all" number_field="4" filter_mode="all" filter_field="3" filter_operator="isnot" filter_value="IT developer" filter_field2="5" filter_operator2="isnot" filter_value2="41 and older" decimals="2" dec_point="." thousands_sep=","]:
1,754.02

Example [gravitywp_count formid="2"]:
159

Example [gravitywp_count formid="2" filter_field="3" filter_value="IT developer"]:
95

Example [gravitywp_count formid="2" filter_field="3" filter_value="IT developer" filter_field2="5" filter_value2="41 and older"]:
15

Test shortcode

Total count (all entries, no filter): 159

[gravitywp_count formid="2" field="4" decimals="2" dec_point="," thousands_sep="." ]

Total count default (all entries, no filter): 159
[gravitywp_count formid="2" field="4"]

Count with 1 filter (IT developer): 2,311.66

[gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" decimals="2" dec_point="." thousands_sep="," ]

Total number of entries from IT Developers: 2,312 entries

[gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" decimals="0" dec_point="." thousands_sep="," ]

Count with 2 filters (IT developer, 41 and older): 350.03

[gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" filter_field2="5" filter_value2="41 and older" decimals="2" dec_point="." thousands_sep="," ]

Test shortcode (EU notation)

[gravitywp_count formid="2" number_field="4" filter_field="3" filter_value="IT developer" decimals="2" dec_point="," thousands_sep="." ]
European notation: [gravitywp_count1 formid=”2″ number_field=”4″ filter_field=”3″ filter_value=”IT developer” decimals=”2″ dec_point=”,” thousands_sep=”.” ]

GravityView: Entries Count demo

 Name Job Age Number
Marloes2IT developer41 and older15
Test 2IT developer41 and older29.5644
MarloesIT developer41 and older15
ErikIT developer0 - 2012.33
TestIT developer0 - 2059.5644
MooiBoyConsultant0 - 2099
MooiBoy2Consultant0 - 2099
MooiBoy3Employee (my boss decides)21 - 4099
MooiBoy4Employee (my boss decides)41 and older99.2
MooiBoy5Employee (my boss decides)41 and older99.265454
MooiBoy6IT developer41 and older99.265454
MooiBoy7IT developer0 - 2095.244584445
MooiBoy8Something else0 - 2095.244584445
MooiBoy9Something else21 - 4095.244584445
asdfasEmployee (my boss decides)1.32
OneIT developer0 - 201.01
yuejianIT developer21 - 4099
Tim NolderConsultant21 - 4098.99
Tim NolderConsultant21 - 4098.99
EvanIT developer41 and older1.2
mhmghEmployee (my boss decides)21 - 406
PJIT developer21 - 4015
EducationIT developer21 - 4040
TaliaEmployee (my boss decides)0 - 202.00
mohamedConsultant12.99
 Name Job Age Number

 

Total number of entries without filters

[gravitywp_count formid="2" thousands_sep="," ]
or the default (thousand seperator is a comma):
[gravitywp_count formid="2" ]
This shortcode counts the total number of entries without any filters: 159 persons filled in this form.

Total number of entries with 1 filter:

[gravitywp_count formid="2" filter_field="3" filter_value="IT developer" thousands_sep="," ]
This shortcode counts the total number of entries with 1 filter (in this case: IT developer): 95 persons are IT developer.

Total number of entries with 2 filters:

[gravitywp_count formid="2" field="4" filter_field="3" filter_value="IT developer" filter_field2="5" filter_value2="41 and older" thousands_sep="," ]
This shortcode counts the total number of entries with 2 filters (in this case: IT developer & 41 and older): 15 persons are IT developer and 41 years and older