☰

Premium Gravity Forms add-on

List Number Format

Turn List Field columns into numbers that calculate totals for you

List Number Format is a Gravity Forms add-on that turns List Field columns into number columns. Format them as point decimals, comma decimals or currency, round values, set a fixed or calculated minimum and maximum, calculate a column from other columns in the row, show column totals and use column sums and row counts in other calculations, without writing code.

  • 30-day money-back guarantee
  • Support from the developers
An office furniture order in a List field: quantity × unit price per row, currency formatting, column totals while typing, a quantity above 10 flagged, totals that follow a removed row, a VAT total outside the list and the order as a table with totals.

For Gravity Forms builders who collect repeating rows of numbers, such as order lines, expenses or hours, and want correct totals.

Numbers your visitors cannot get wrong

A List Field column accepts any text by default. Turn it into a number column with a fixed format and range, and every row holds a valid number.

Totals without a spreadsheet

Rows calculate their own amounts and columns add up while the visitor types, so nobody has to add up the list by hand.

Use the list in the rest of your form

Column sums and row counts are available as merge tags, so a subtotal, tax or price field can build on what was entered in the list.

Try it

This form runs List Number Format on this site. Fill in the fields and see the add-on at work.

Use cases

  • Order forms where each row has a quantity, a unit price and a calculated line amount.
  • Expense claims that show the total of all expense lines at the bottom of the list.
  • Timesheets that add up the hours per day and limit each entry to a realistic range.
  • Price quotes that calculate tax or a discount on the column total in a separate Number field.
  • Registration forms that charge per participant based on the number of rows in a list.
  • Inventory orders where the quantity in each row cannot be more than the stock in another column.

Features

  • Number format per column

    Check Enable Number Format in the List Field settings and choose point decimals (9,999.99), comma decimals (9.999,99) or currency for one or more columns, in single-column and multi-column List Fields. Other columns stay plain text.

  • Rounding and decimals

    Round values to up to 5 decimal places and choose the Rounding Direction: round closest, round up or round down. Fixed point notation keeps the trailing zeros, so 5.5 shows as 5.50.

  • Fixed or calculated range

    Set a Range with a minimum and maximum value, or turn on Enable Range Calculation to base the limits on other columns in the same row. Values outside the range get a warning while the visitor types and an error on submit, and range instructions can show a fixed range below the input.

  • Column totals

    Turn on Enable Column Total to add a total row at the bottom of the list. It updates as visitors enter values and is also shown in the entry, in merge tag output such as {all_fields} and in Gravity PDF documents.

  • Row calculations

    Turn on Enable Calculation for a column and give it a formula with other columns in the same row or other form fields, for example quantity times unit price. The calculated column is read-only and updates for every row, including rows added later.

  • Calculation merge tags

    Use {List:1.2} for the sum of column 2 and {List:1} for the number of rows in a Number field calculation elsewhere in the form. Gravity Forms also calculates these on the server when the form is submitted, so the saved entry and payment add-ons such as Stripe get the correct amount.

Ready to use List Number Format? 30-day money-back guarantee.

Buy now from $49

Why GravityWP

Gravity Forms specialists since 2014. The people who build the add-ons also answer your questions.

5.0/5from 30 reviews on WordPress.org and GoogleRead more

Built the Gravity Forms way

Our add-ons use the official Gravity Forms add-on framework, so settings, feeds and entries work the way you already know.

Compatibility guaranteed

Works with current Gravity Forms versions and certified add-ons like Gravity Flow, GravityView and Gravity Perks. If something conflicts, we fix it.

Support from the developers

Your question goes straight to the people who wrote the code. Good feature requests often make it into the next release.

What customers say

Jurriaan with GravityWP was amazing in helping with our issue. My client purchased this addon to be able to have multiple invoices entered, totaled and payed with Stripe. There was something that wouldn’t work for the total to be passed through to Stripe and they offered to fix it and send me a patched version of the plugin. That was a lifesaver or we would have had to start over. Very impressed with their help and taking the time to fix our specific issue. Thanks a bunch!
Amanda J., web design studio
What a hero you are! This is going to save me so much unnecessary time! The column tags were indeed what I was missing. But now that I see the example, it’s actually very intuitive.
Owner, web agency (translated from Dutch)
Thanks indeed for taking your time and providing such a detailed on-the-spot explanation to my question. And it worked flawlessly – first time!
Owner, accounting firm

More about GravityWP

Get List Number Format

Yearly license with updates and email support. Prices excl. VAT.

1 site

$49/year

Buy for 1 site

50 sites

$179/year

$3.58 per site
Includes priority support

Buy for 50 sites

All Access

$139/year

All 14 premium add-ons, 1 site
$9.93 per add-on

Get All Access

30-day money-back guarantee on your first purchase. Refund policy. When a license ends, everything you installed keeps working; only downloads, updates and support stop. Compare all licenses

Questions before you start? Ask us

Frequently Asked Questions

Can I format some columns and leave others unchanged?

Yes. You enable number formatting per column, so a List Field can mix number columns with plain text columns. You can change the format of a column as long as the form has no entries.

Does it work with other add-ons?

Yes. It works with GP Populate Anything and GP Nested Forms, GravityView Edit Entry, Gravity PDF, and the GravityWP List Dropdown and Field to Entries add-ons. When you edit an entry in the Gravity Forms admin, calculations and totals update live.

Can I use the column total in other calculations?

Yes. Use a merge tag such as {List:1.2} in a Number field calculation to get the sum of column 2, or {List:1} for the number of rows. You can, for example, multiply the total by a tax rate.

Do I need to write code?

No. Formats, rounding, ranges, totals and formulas are all set in the Gravity Forms form editor. Developers can hook in with JavaScript, such as the gf_list_col_number_clean_value filter and the gwp_lnf_post_init action.

What happens when my license expires?

Everything you installed keeps working. You no longer get downloads, updates, new features and support until you renew.

Can I get a refund?

Yes, within 30 days of your first purchase. Request it through your account on my.gravitywp.com. Renewals are not refunded; see the refund policy.

Examples

An order list (List Field ID 1) with the columns Quantity, Unit price and Amount:

Where you use itMerge tagResult
Formula of the Amount column{Order Items:1.1} * {Order Items:1.2}Quantity times unit price, per row
Number field below the list{Order Items:1.3}Sum of the Amount column
Number field below the list{Order Items:1}Number of rows

With two rows, 2 × 10.00 and 3 × 5.50, the Amount column shows 20.00 and 16.50, the column total is 36.50 and the row count is 2.

The same merge tag returns the value in the current row when used inside the list, and the column sum when used in a Number field outside it. See the documentation for all settings.

Requirements

  • Gravity Forms 2.4.24.1 or later
  • WordPress, tested up to 6.6
  • PHP 7.0 or later
  • Optional: Gravity PDF, to show the column total row in PDFs

Current version 2.1.6, updated 2 September 2026. View the changelog

Documentation and tutorials

All List Number Format documentation

Changelog of List Number Format

v2.1.6

  • License and Update handler improvements

v2.1.5

  • License and Update handler improvements

2.1.4

  • Fix JS deprecations and add support for older Gravity Forms versions.

2.1.3

  • Fix an issue with server side calculations when a lead is generated before an entry is submitted (compatibility with GF Stripe Addon).
  • Add the 'gwp_lnf_post_init' JS action, which fires after the List Number Format settings are initialized after the form is loaded.

2.1.2

  • Security fix: remove development file from release package. Introduced in v2.1.
  • Fix a minor debug logging issue.

2.1.1

  • Fixed an issue regarding the frequency of update checks to increase performance.

2.1

  • Update license handler.

2.0.14

  • Prevent fatal error on PHP 8+ in some situations when used together with GP Populate Anything.
  • Update license handler.

2.0.13

  • Added 'gf_list_col_number_clean_value' JavaScript filter to allow custom scripts to change the value.

2.0.12

  • Fix bug introduced in 2.0.11: Column total with rounding set to 'No Rounding' being rounded anyway, when a submitted entry is being displayed (entry detail, all_fields, merge tag). Thanks Scot!

2.0.11

  • Fix PHP 8.0+ error when rounding is being applied to empty field values.
  • Added translator comments.

2.0.10

  • Fix calculations in some situations where the List column formula uses a Number field formatted as a decimal comma currency in a multipage form.
  • Update license handler.

2.0.9

  • Prevent a fatal error in some situations where the row count from a hidden list field is being used in a calculation with Gravity View Edit entry.

2.0.8

  • Fixed a bug introduced in 2.0.7 causing initialization errors on forms with two or more list fields. Thanks Shad!

2.0.7

  • Implement re-initialization for List fields with List Number Format settings after they are populated with GP Populate Anything.
  • Developers: added fieldIds parameter to init function: window.GWPListNumberFormat.gf_list_col_number_format_init( formId, fieldIds ).

2.0.6

  • Prevent fatal error caused by a third party plugin.

2.0.5

  • Updated fronted init method to make it easier for other plugins (for example GP Populate Anything) to re-initialize List fields with List Number Format settings. Developers, use: window.GWPListNumberFormat.gf_list_col_number_format_init( formId ).

2.0.4

  • Updated dependencies to fix a security issue in a third party library.
  • Fix console error when editing an entry without list fields.

2.0.3

  • Fix some minor typing issues to improve PHP8+ compatibility.
  • Fix total row not showing in entry view when column total is 0.

2.0.2

  • Fix some minor typing issues to improve PHP8+ compatibility.
  • Fix total row not showing in entry view when column total is 0.

2.0.1

  • Improved styling for total row: inherit background from parent.
  • Support forms that are loaded via a backend request (GravityWiz - Nested Forms).

2.0

  • Release as stable 2.0 version.
  • Fix List Dropdown column changes not triggering column calculations.
  • Fix thousands separator not showing in column total for non currency numbers.
  • Support total row HTML markup in GravityPDF.

1.2-beta-2.4

  • Better error handling if total row template is not available in case of a theme not calling wp_footer();

1.2-beta-2.3

  • Added support for the GravityWP List to Entries Addon.
  • Fix calculation merge tag selector inserting the wrong column number in some cases.
  • Fix frontend range validation firing before user has finished changing the value.

1.2-beta-2.2

  • Fix column totals not showing when first column is not a number column.
  • Remove column total merge tags for non-number columns from merge tag selector.

1.2-beta-2.1

  • Fix total columns not initializing when the form loads after introducing support for multiple forms with number format list fields on one page.
  • Make realtime calculations available in backend entry edit.
  • Show column totals in merge tag output, including {all_fields}.

1.2-beta-2

  • Add support for multiple forms with number format list fields on one page.
  • Fix backend range validation not working when the value is empty.
  • Fix range validation not working on single column lists in some cases.
  • Don't show real-time validation feedback when field doesn't have a value yet.
  • Some performance improvements.

1.2-beta-1.5

  • Add support for capabilities.

1.2-beta-1.4 - 2022-02-16

  • Fix backend validation not taking number format into account for field merge tags in the range formula.
  • Fix calculations not executing for new row.
  • Fix total row causing an error on GF form Preview.
  • Fix Gravity Perks Nested Forms merge tags not working.
  • Fix gform_calculation_formula filter not being applied to formula's.
  • Fix range validation not working when min or max range is 0.
  • Fix minimum range rule not being evaluated on frontend when max. range rule is not defined.
  • Fix rounding at 0 decimals not working on frontend in some cases.
  • Fix range validation on single column lists.
  • Remove range errors for new rows when added.
  • Darker range error color for readonly fields.
  • Add support for translations.
  • Included Dutch translation.

1.2-beta-1.3 - 2021-12-21

  • Fix GView Edit entry screen not loading in some cases.
  • Fix row count not being updated on delete action.

1.2-beta-1.2 - 2021-12-17

  • Changed: Updated license handler to v1.0.17.
  • Changed: Removed dev files from distribution package.

1.2-beta-1.1 - 2021-11-23

  • Changed: Updated license handler to v1.0.13.
  • Fixed: Fixed vendor namespaces to avoid conflicts.

1.2-beta-1.0 - 2021-11-19

  • Added: Implement vendor namespaces to avoid conflicts.
  • Changed: Update license handler v1.0.9.

1.2-beta-0.3 - 2021-11-16

  • Changed: Update license handler to v1.0.8.

1.2-beta-0.2 - 2021-10-12

  • Added: Implement license handler.
  • Fixed: Fix for row count not working when there is no number column.

1.2-beta-0.1 - 2021-06-23

  • Added: A filter function to support GravityWP List to Entries workflow step with raw number values.
  • Added: Prevent format change while form has entries.
  • Added: Rewritten and refactored version.

Start using List Number Format today

Turn List Field columns into numbers that calculate totals for you

Buy now from $49

30-day money-back guarantee

Proudly powered by WordPress