You can use calculations in forms to automatically generate values based on information entered by form users. Calculated values are updated automatically when the values used in the calculation change.
Note: You can use a form variable to store or exchange the
calculation result in the form or further in the process. For more information, see
Creating Form Variables.
Form calculations use expression formulas to evaluate values from one or more form variables. The result of the calculation can be displayed in a widget and used in other calculations within the form.
The following configuration example multiplies the values of fields with the IDs Quantity and UnitPrice, then writes the result to a field named Total: