Gravity Forms Calculations Pro
Expands computation with your gravity forms which were not possible before.
Features
- Conditional If logic
- Working all version Gravity Forms
- Easily extensible
- Date duration calculator.
- And more…
Conditional calculations
if(A < B,A + 1, A +3 ) + 5 + if(number1 < number2, number-600 + 15, 1) +7
Logical operators (==, !=, <, <, >=, <=) are supported, but logically they can only return true (1) or false (0). In order to leverage them, use the built in if function:
Date calculations- Days Between Dates Calculator
A + date(B – C) – if(C < D,A + 1, A +3)
year( A, B ) E.g: year(15/02/2005, 2000) result = 5
Support Total List field
Supported symbols
Symbol
Explanation
+
Addition Operator eg. 2+3 results 5
–
Subtraction Operator eg. 2-3 results -1
/
Division operator eg 3/2 results 1.5
∗
Multiplication Operator eg. 2∗3 results 6
if
It allows you to make logical comparisons between a value and what you expect eg. if(1>3,1,2) results 2
Nested if statement
Nested if statement eg. if(condition1, result1, if(condition2, result2, if(condition3, result3, result4)))
min
Returns the number with the lowest value eg. min(4,3,5,36) results 3
max
Returns the number with the highest value eg. max(4,3,5,36) results 36
floor
Returns the largest integer less than or equal to a given number eg. floor(5.95) results 5
floor2
Returns the largest integer less than or equal to a given number eg. floor2(5.951,2) results 5.91
abs
Returns the absolute value of a number eg. abs(-3) results 3
round
Returns the value of a number rounded to the nearest integer eg. round(5.5) results 6
round2
Returns the value of a number rounded to the nearest integer eg. round2(5.512,2) results 6.51
random
Returns a random number eg. random(100,999) results 116
days
Days Between Two Dates eg. days(2022-12-20,2021-11-06) results 409
months
Months Between Two Dates eg. months(2022-12-20,2021-11-06) results 13
years
Years Between Two Dates eg. years(2022-12-20,2021-11-06) results 1
age
Age Calculator eg. age(2022-12-20) results 3
age2
Age Calculator eg. age2(2022-12-20,2022-12-21) results 1
Mod
Modulus Operator eg. 3 Mod 2 results 1
(
Opening Parenthesis
)
Closing Parenthesis
&
Bitwise AND eg. 3&1 results 1
Sigma
Summation eg. Sigma(1,100,n) results 5050
Pi
Product eg. Pi(1,10,n) results 3628800
n
Variable for Summation or Product
pi
Math constant pi returns 3.14
e
Math constant e returns 2.71
C
Combination operator eg. 4C2 returns 6
P
Permutation operator eg. 4P2 returns 12
!
factorial operator eg. 4! returns 24
log
logarithmic function with base 10 eg. log 1000 returns 3
ln
natural log function with base e eg. ln 2 returns .3010
pow
power function with two operator pow(2,3) returns 8
power operator eg. 23 returns 8
root
underroot function root 4 returns 2
sin
Sine function
cos
Cosine function
tan
Tangent function
asin
Inverse Sine function
acos
Inverse Cosine function
atan
Inverse Tangent function
sinh
Hyperbolic Sine function
cosh
Hyperbolic Cosine function
tanh
Hyperbolic Tangent function
asinh
Inverse Hyperbolic Sine function
acosh
Inverse Hyperbolic Cosine function
atanh
Inverse Hyperbolic Tangent function