Maths Field
Our Maths Field gives you the ability to write basic equations using the values of fields in that bloc. For example, if Field A has the value 13 and Field B has the value 40, then to add those and have the result shown in the maths field, the maths field equation will look like the following field_a + field_b. It is useful for working with counts of totals, or other uses like creating invoices.
Note: The result of the equation is updated every time the Rules/Actions are triggered for a field that is inside the equation. For Example, if Field A and Field B are in the equation, when the rules are triggered for Field A the maths field will attempt to update. For this reason, if Field A or B are text fields you must press enter or tab for the maths field to take effect. To get around this you can apply the Trigger rules on Keypress parameter. This will mean the equation will update as you type.
Note 2: And understanding of our Field Slugs is required to use this field. However, you may find it intuitive enough to use by itself by simply clicking "View Field Slugs" and begin clicking the fields you want in the equation.
It is also possible to use functions for more complex calculations, e.g min, max and avg
Initial Parameters
Default Text if Syntax is incorrect | Provides the user with an error message if the equation syntax is incorrect. |
Hidden or Empty Field Behaviour | If enabled, it will default empty or blank values to 0. |
Last updated