Skip to main content

Modifier :max

Highest value.

About

ProductGravityMath
RequiresGravityMath 1.0 or later
In the pickerWhat to show, for Number, Product, Total, Calculation, Shipping, and Quantity fields
CombiningUse it alone. With other modifiers, it is ignored.

Examples

Output from the real plugin code, run on a test entry.

Merge tagOutputWithout the modifier
{Amount:8:max}1,234.56$1,234.56

Works on

The merge tag picker does not offer it anywhere.

Left out

Field kindsWhy
Number · Product · Quantity · Shipping · TotalWorks only inside a shortcode. GravityMath adds this up across entries, which it does only between the tags of its [gvmath] shortcode.
CalculationOutputs nothing on the whole field. Gravity Forms has no single value for this field as a whole, so the tag outputs nothing and so does any modifier. Use one part instead, like .3 for a first name.