Documentation

Min / Max Calculation for Formulas

Advanced Number Field adds support for the min() and the max() formula, which can be used in Number Field calculations. It returns the lowest or the highest value from a list of merge tags.

Using Min() and Max() calculations

Enable Calculations in the settings of a number field. Use Min or Max within the formula with a comma-separated list of number field merge tags. Note that calculations within Min() or Max() are not supported.

Supported syntax examples

Max({Number:1}, {Number:2}, {Number:3})
( Min({Number:1}, {Number:2}, {Number:3}) + 10 ) / 2  

Not supported

Max({Number:1} * 2, {Number:2}, {Number:3})
Max( Min( {Number:1}, {Number:2} ),  {Number:3})

Last updated: 02-03-2022

Advanced Number Fieldv1.0-beta.11

For this functionality you need the GravityWP - Advanced Number Field Add-on installed.

Read more

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close