Advanced Calculations 1.1 is Here
Now with support for comparing strings in calculation conditions.
![advanced calculations 1.1 release cover](https://gravitywiz.com/app/uploads/2024/07/GPAC-1.1-release-cover-1024x538.png)
Greetings, wizard.
You’re absolutely right. Advanced Calculations does rock so much for number crunching in Gravity Forms.
In fact, I can hear what you’re thinking right now!
- “I can perform complex calculations, advanced mathematical functions and clever conditionals directly in Gravity Forms.” True.
- “It has a potent formula editor with syntax highlighting, autocompletion, shorthand referencing for fields and more.” YASSSS!
- “I can build advanced tools like mortgage calculators, calculated products, auto loan calculators, investment/retirement calculators, pretty much anything.” Yes, wizard!
It really is the fastest way to turn your Gravity Forms fields into tiny little math prodigies. And we just made it even more sorcerous.
What’s new in Advanced Calculations 1.1?
Advanced Calculations (GPAC) 1.1 brings support for comparing strings in calculation conditions (previously, this functionality was limited to numbers).
With the ability to compare strings in your calculation conditions, you can use a single Calculated Number (or Calculated Product) field to handle all of the different value-specific formulas that previously would have required multiple Number fields (which works, it just leads to a lot of fields).
Setting values based on a selection in a choice-based field (or any text based field) opens the door to some exciting ideas!
For example:
- Calculate interest rates based on a selected state.
- Increase the base price of your product if a premium option is selected.
- Change the grading calculation depending on the grade level.
1.1 is ready to handle your most complex arithmetic
A few more noteworthy ways GPAC 1.1 can bring sorcerous arithmetic to your fingertips.
- You can test for multiple conditions, and you can compare with numeric conditions.
if ( F1 == 'A' && F2 > 100 ):
- You can check for empty (or non-empty) values.
if ( F1 == '' ):
- You can compare values of two string-based fields. Does Field 1 have the same value as Field 2?
if ( F1 == F2 ):
Did I hear someone say SOHCAHTOA? Advanced Calculations also recently got support for trigonometry!
Want a math wiz inside your forms?
1.1 is backed by comprehensive automated testing and of course, comes with our guarantee of absolutely legendary support. You can… count… on us.
Get started with Advanced Calculations 1.1 by heading over to your WordPress admin. Alternatively, log in to your Gravity Wiz account and go to your Downloads page.
Not a Gravity Perks user yet?