Gravity Perks Advanced Calculations changelog
Release notes for every version you can download from GPL Times, newest first.
- Latest 2.0.8 · 1 Dec 2026
- 46 versions
- Since May 2024
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where incomplete Time fields could break calculations after AJAX validation.
- 2.0.7Join now
1 new1 improvedJoin nowShow changesHide
New
- Added a warning when a calculation formula references a Total field, which Gravity Forms does not support in calculations.
Improved
- Fixed an issue where GP Advanced Calculations could produce different results before and after submission when calculations referenced an Address field's Country input on Gravity Forms 3.
- 2.0.6Join now
1 improvedJoin nowShow changesHide
Improved
- Fixed initial calculations using GP eCommerce Fields merge tags.
- 2.0.5Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Added support for negative exponents without parentheses (e.g.
F1 ^ -2).
Fixed
- Fixed an issue where
agecalculation could return years in decimal.
- Added support for negative exponents without parentheses (e.g.
- 2.0.4Join now
1 improvedJoin nowShow changesHide
Improved
- Improved compatibility with GP Read Only and
timedifffunction.
- Improved compatibility with GP Read Only and
- 2.0.3Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where dates before 1970 did not work in calculations.
- 2.0.2Join now
1 new1 improved2 fixedJoin nowShow changesHide
New
- Added support to
converttz()for hardcoded dates and times.
Improved
- Fixed an issue where Merge Tags and Field References were not interpreted in the site timezone by default.
Fixed
- Fixed an issue with Time Field resolution which could cause incorrect results when passed to
timediff()ordatetime(). - Fixed an issue with the datediff() function where it inconsistently floored results.
- Added support to
- 2.0Join now
1 newJoin nowShow changesHide
New
- Added native support for date and time calculations. Replaces GP Date Time Calculator functionality.
- 1.1.22Join now
1 new1 improvedJoin nowShow changesHide
New
- Added new [
gpac_is_applicable_form](https://gravitywiz.com/documentation/gpac_is_applicable_form) PHP filter hook along withwindow.gpac_create_formula_editor()JavaScript function for other plugins to utilize.
Improved
- Updated how tooltips/autocomplete are rendered to improve compatibility with an upcoming perk.
- Added new [
- 1.1.21Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where using merge tag shorthand with checkbox fields did not correctly calculate arithmetic operations on selected choices.
- 1.1.20Join now
2 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where conditional statements in a nested form would not work if the referenced child field shared its ID with a parent field.
- Fixed an issue where alphanumeric product field values (e.g.
B2,C3) were incorrectly converted to numbers in calculations, causing value mismatch errors in conditional statements.
- 1.1.19Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where conditional statements using the OR operator would evaluate as false when one of the referenced fields was left blank or conditionally hidden at submission, causing the result to become invalid.
- 1.1.18Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where conditionals comparing hex values in strings (e.g. "10x8") returned incorrect results due to formula security checks.
- 1.1.17Join now
1 removedJoin nowShow changesHide
Removed
- Removed redundant check for Gravity Perks in preparation for Spellbook.
- 1.1.16Join now
1 newJoin nowShow changesHide
New
- Added Spanish translations. Credit: Rafael Soler of rafaelsoler.es
- 1.1.15Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where negative numbers in certain calculations were not processed correctly, leading to inaccurate results.
- 1.1.14Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Added support for using the "Tab" key to add indents in the calculation field. Press the Escape key to unfocus the formula editor and enable tabbing to other field settings.
Fixed
- Fixed an issue where string values containing
/could not be compared correctly in conditionals.
- 1.1.13Join now
1 improvedJoin nowShow changesHide
Improved
- Improved formula syntax validation.
- 1.1.12Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where quotes around numbers in conditionals were not supported.
- 1.1.11Join now
2 fixedJoin nowShow changesHide
Fixed
- Fixed an issue where shorthand merge tags pointing to non-existent inputs would behave inconsistently.
- Fixed issue where newlines inside
elseif():conditions could cause an infinite loop. For example,elseif(newlines here):.
- 1.1.10Join now
1 improvedJoin nowShow changesHide
Improved
- Improved syntax validator by preventing
{or}from being used in merge tag field labels. This will prevent formulas such as{Field 1:1} + Field 2:3}from being marked as valid. We recommend Merge Tag Shorthand if your field labels contain{or}.
- Improved syntax validator by preventing
- 1.1.9Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed some currency-formatted values (e.g. 10,00 €) being treated as strings in if/elseif comparisons which would prevent operators such as
<or>from working as expected.
- Fixed some currency-formatted values (e.g. 10,00 €) being treated as strings in if/elseif comparisons which would prevent operators such as
- 1.1.8Join now
1 improvedJoin nowShow changesHide
Improved
- Added gpac_should_process_calculation JS filter hook that can be used to conditionally disable processing formulas. This can be used in snippets to increase performance of complex calculation forms.
- 1.1.7Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Improved formula validation to mark nested if statements as invalid. They are unsupported, but would show as valid.
Fixed
- Fixed formula validation issues with modifiers in merge tags containing underscores (such as {:1:choice_label}).
- 1.1.6Join now
1 new1 fixedJoin nowShow changesHide
New
- Added PHP version of gpac_should_clean_merge_tag_value.
Fixed
- Fixed issue where setting gpac_should_clean_merge_tag_value would not always ensure that non-numeric values are quoted.
- 1.1.5Join now
2 fixedJoin nowShow changesHide
Fixed
- Fixed regression concerning using product prices in formulas
- Fixed issue with conditional logic where empty strings inside conditions could create odd results on initial load. Additionally, comparisons between numbers and non-numeric strings has been made more consistent.
- 1.1.4Join now
1 newJoin nowShow changesHide
New
- Added support for multi-line conditionals.
- 1.1.3Join now
3 fixedJoin nowShow changesHide
Fixed
- Fixed issue where decimal comma numbers would be treated as strings in some formulas.
- Fixed issue with unicode characters used in string comparisons.
- Fixed issue where partially numeric values (e.g. number ranges with dash, Zip + 4, etc.) could get treated as numbers rather than strings in conditional statements.
- 1.1.2Join now
2 new1 improvedJoin nowShow changesHide
New
- Added support for new :choice_label modifier to explicitly get the label from a choice in a formula as Advanced Calculations will default to getting the value of the choice. :label is for getting the label of the field itself.
- Added test_complex_calculations.cy.ts
Improved
- Refactored calculation logic to resolve regressions including the :value modifier not being used by default as well as addressing currency-formatted numbers being treated as strings in some cases.
- 1.1.1Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed regression where currency values could be treated as strings resulting in incorrect calculations.
- 1.1Join now
1 newJoin nowShow changesHide
New
- Added support for comparing strings in
if/elseifstatements.
- Added support for comparing strings in
- 1.0.23Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue where values starting with
0could get evaluated as octals.
- Fixed issue where values starting with
- 1.0.22Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed JavaScript error in the form editor if using Firefox that could cause the merge tag selector to not initialize.
- 1.0.21Join now
2 newJoin nowShow changesHide
New
- Added new gpac_functions PHP and JavaScript filter hooks for adding custom functions.
- Added trigonometric functions:
sin,cos,tan,asin,acos,atan.
- 1.0.20Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue where Merge Tag Shorthand would not calculate when a key is pressed at consistent times on some devices.
- 1.0.19Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue where
max()andmin()could calculate as0during submission if only given one parameter.
- Fixed issue where
- 1.0.18Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Improved error handling when improper parameters are provided to functions such as
min,max, etc.
Fixed
- Fixed an issue where calculations encountering division by zero would throw an error instead of returning
0.
- Improved error handling when improper parameters are provided to functions such as
- 1.0.17Join now
1 improvedJoin nowShow changesHide
Improved
- Updated the "Validate Formula" override to be more robust which fixes an issue with it not after Gravity Forms 2.8.2.
- 1.0.16Join now
1 improvedJoin nowShow changesHide
Improved
- Fixed issue where Merge Tag Shorthands would use pricing field choice values instead of prices which does not match the default Gravity Forms behavior nor how it would be handled after submission. If you wish to use a pricing field choice's value, you will need to switch from the shorthand to a full merge tag with a modifier such as
{:1:value}.
- Fixed issue where Merge Tag Shorthands would use pricing field choice values instead of prices which does not match the default Gravity Forms behavior nor how it would be handled after submission. If you wish to use a pricing field choice's value, you will need to switch from the shorthand to a full merge tag with a modifier such as
- 1.0.15Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed another issue where omitting a leading zero on a decimal would cause calculations to not work as expected.
- 1.0.14Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue where a JavaScript error could occur if calculations are enabled for a field, but the formula is empty.
- 1.0.13Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue where the calculation before and after submission would not match in some situations where decimal numbers do not have leading zeros.
- 1.0.12Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed a potential conflict with Beaver Builder.
- 1.0.11Join now
1 fixedJoin nowShow changesHide
Fixed
- Fixed issue with frontend calculations for functions such as
fvnot being correct in some cases.
- Fixed issue with frontend calculations for functions such as
- 1.0.10Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Improved the algorithm used to process functions in formulas to handle more complex nesting.
Fixed
- Fixed issue where parse errors in formulas could prevent the form from rendering in some cases. Additionally, logging has been improved to help track down which fields and formulas are not evaluating correctly.
- 1.0.9Join now
1 improved1 fixedJoin nowShow changesHide
Improved
- Improved exception handling of malformed formulas on the frontend.
Fixed
- Fixed issue where using a value from Date Time Calculator inside a function such as floor() would not work as expected.