The calculation algorithm that must return a number. The following syntax is supported:
* equates to multiply/ equates to divide+ equates to add- equates to minus% equates to modulo( and ) parentheses can be used to dictate the order of operationsROUND(n) will round "n" to the nearest whole numberISNULL(n, x) will use the value of n if it is a number, otherwise the
value of x will be used{ELEMENT:elementName} will use the value from another element on the
form. elementName must match the name property of an element on the form.This value should be valid HTML. It will
be displayed to users when completing the form. The label property will
not be displayed on the form. The result of the calculation is represented
as {RESULT}. The HTML must include the result.
OptionaldisplayIf true, the {RESULT} in the defaultValue will be displayed as currency.
OptionalpreThis value should be valid HTML. It will
be displayed to users when completing the form before until the
calculation returns a valid number. Use this to give the user
instructions on what is need to complete the calculation
An element to calculate a value for the user based on other form element values.
The element must have an
idproperty that contains a universally unique identifier (UUID). The identifier must be a Version 4 (V4) UUID and must conform to the formatting requirements defined in this RFC 9562 specification: https://www.rfc-editor.org/rfc/rfc9562.html