ManageGPLNEWManage every WordPress site from one dashboard · update them all in one clickEvery site, one dashboardFree for 5 sitesNo card needed
Start free
ManageGPLNew
One dashboard for every WordPress site — update everything in one clickUpdate every WordPress site in one clickPremium plugins included
Added a warning when a calculation formula references a Total field, which Gravity Forms does not support in calculations.
Fixed
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.
Added new [gpac_is_applicable_form](https://gravitywiz.com/documentation/gpac_is_applicable_form) PHP filter hook along with window.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.
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.
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.
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.
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 }.
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.
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.
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.
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.
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.
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}.
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.