List Field Number Format for Gravity Forms


This plugin is an add-on for the Gravity Forms plugin. If you don’t yet own a license for Gravity Forms – buy one now! (affiliate link)

What does this plugin do?

  • make a list field column accept only numbers
  • specify the format of the number including currency, comma delimited (9,999), dot delimited (9.999) and no formatting (9999)
  • specify the rounding type – round up, round down or round closest
  • specify the decimal places to round to – no rounding, 0, 1, 2, 3, 4, 5
  • force the number to use fixed placed notation – e.g. 10.1 would become 10.10 with 2 place fixed notation
  • add a column total – automatically display the total of the column
  • specify a range requirement – this can be a set number, e.g. 200 or a formula, e.g. column 1 + column 2
  • calculate column values uing a formula (e.g. field = column 1 + column 2)
  • compatible with Gravity Forms List Field Calculations Add-On
  • compatible with Gravity PDF

See a demo of this plugin at

How to I use the plugin?

Simply install and activate the plugin – no configuration required.

Open your Gravity Form, edit a ‘List’ field and use the ‘Number Format’ options to configure the columns.

Have a suggestion, comment or request?

Please leave a detailed message on the support tab.

Let me know what you think

Please take the time to review the plugin. Your feedback is important and will help me understand the value of this plugin.


Gravity Forms is a trademark of Rocketgenius, Inc.

This plugins is provided “as is” without warranty of any kind, expressed or implied. The author shall not be liable for any damages, including but not limited to, direct, indirect, special, incidental or consequential damages or losses that occur out of the use or inability to use the plugin.

Note: When Gravity Forms isn’t installed and you activate this plugin we display a notice that includes an affiliate link to their website.


  • Shows the number format options in the forms editor.


  1. Install plugin from WordPress administration or upload folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in the WordPress administration
  3. Open the Gravity Forms ‘Forms’ menu
  4. Open the forms editor for the form you want to change
  5. Add or open an existing list field
  6. With multiple columns enabled you will see a ‘Number Format’ section – here you can choose which columns are number fields.


How do I base a calculation from a drop down (select) field?

This plugin is capable of making calculations across a row using drop down (select) fields.

To do this you first need to set a column in the list field as a drop down – I suggest you use the Drop Down Options in List Fields for Gravity Forms plugin for this.

You then need to make sure the VALUE (not the text label) for the drop down is or contains the number for the calculation.

Once you have done this simply ‘number enable’ the column and setup the total calculation for the destination column.


GLAD: Numeric List Fix Support

@ovann86 Provided a fix for a numeric list issue where WordPress Page would not save when embedding the Gravity Form. The Guetenburg editor caused the issue. I was happy with the support. Previously said... The plugin mostly works. Sometimes people need support especially if being used for business purposes.
Read all 5 reviews

Contributors & Developers

“List Field Number Format for Gravity Forms” is open source software. The following people have contributed to this plugin.




*Fix: resolve conflict with Gutenberg – adding form using a shortcode would give an error message


*Fix: resolve issue with not being able to add new list rows in wp-admin entry editor


*Fix: resolve issue with column total appearing when column was previous ‘number enabled’
*Fix: resolve issue with single column list field ‘Enable Column Total’ not displaying the set state


*Fix: resolve error when submit ‘Warning: A non-numeric value encountered in list-field-number-format-for-gravity-forms/list-field-number-format-for-gravity-forms.php on line 590’


  • Fix: resolve issue with column total not display in wp-admin entry view


  • Feature: add no formatting (9999) option – e.g. a year “2019”
  • Fix: number preview in form edit wasnt applying the correct formatting


  • Fix: resolve issue with the total row not calculating in the backend entry editor.
  • Maintenance: resolve ‘undefined index’ error message when debug is enabled.


  • Feature: add support for pre-filled list fields (gform_field_value_ filter)


  • Fix: Resolve issue with column totals repeating/cascading in entry detail and emails.


  • Fix: Resolve issue with blank row being added to list field when viewing entry details.


  • Fix: Improve Gravity Flow support – allow Gravity Flow to output the correct value/format depending on the form editable status.


  • Fix: Resolve compatibility issue with Gravity Forms List Field Calculations Add-On. If a list field had multiple total rows and the columns were being used to calculate separate number fields – the calculation would include the total column value.


  • Feature: add ability to base calculations off of drop down (select) fields in list field row. See plugin FAQ for more information.



  • Maintenance: improve JavaScript to better handle calculations that include values coming from non-list fields.


  • Fix: resolve conflict with Ajax Upload for Gravity Forms plugin (PDF would not display correctly when a list field contained both an ‘Ajax Upload’ column and a ‘number format’ column.


  • Maintenance: change how plugin checks for Gravity Forms being installed and active


  • Fix: resolve ‘Fatal error: Can’t use function return value in write context’ error message for older versions of PHP (5.4 or earlier)


  • Fix: improve validation for ‘max’ and ‘min’
  • Fix: add Gravity PDF support for ‘number enabled’ single column list fields


  • Maintenance: improve validation for French notation numbers (9.999,99)


  • Fix: resolve ‘undefined variable’ error on submitting form.


  • Fix: resolve issue with total column repeating if there are multiple total columns in a list field
  • Maintenance: improve how rounding and fixed point notation is handled in JavaScript and PHP


  • Feature: allow calculations to be made from standard Gravity Forms number fields in addition to list field column fields
  • Fix: resolve issue that stopped negative values from being used, for example -50 would be treated as 50
  • Maintenance: improve support for ‘ABN Lookup for Gravity Forms’ plugin


  • Maintenance: improve support for ‘Sortable List Fields for Gravity Forms’ plugin


  • Fix: JavaScript improvements.


  • Fix: Improve JavaScript in entry editor.


  • Fix: Change how field id is determined to improve compatibility with all versions of Gravity Forms.


  • Fix: Resolve issue with row calculations based on French notation numbers (9.999,99).
  • Fix: Resolve issue field format not correctly setting when new row is added.


  • Fix: Improve support for tables inside of field descriptions.


  • Fix: Resolve issue with range instructions appearing in total row/column if both range instructions (e.g. Number must be between x and x) and total column enabled.
  • Fix: Resolve ‘undefined variable’ error when submitting a form that does not include a total column.


  • Fix: Improve support for older versions of PHP (version 5.3) “Parse error: syntax error, unexpected [“


  • Feature: calculate column values uing a formula (e.g. field = column 1 + column 2)
  • Feature: display column total – column total is automatically calculated and displayed below
  • Feature: set a range value for given column – this can be a specific value (e.g. 200) or a formula (e.g. column 1 * column 2)
  • Feature: add client-side and server-side range validation
  • Feature: ability to hide range instructions (e.g. ‘must be more than 200’)
  • Feature: add client-side and server-side validation for number enabled fields – this enures submitted values are in the correct format
  • Maintenance: increment minimum Gravity Forms version to 1.9.15
  • Maintenance: add CSS classes to number enabled fields and inputs to help with applying CSS
  • Maintenance: right-align text in number enabled inputs
  • Maintenance: add warning message if Gravity Forms is not installed and enabled
  • Maintenance: formatting and styling updates to options in form editor


  • Fix: change short PHP open tags to full
  • Fix: resolve issue with single number format field not updating options when number format changes


  • First public release.