Calculate a number from other fields

A number field can add, subtract, multiply or divide other number fields of the same signer, for example a total.

Steps

  1. Place the number fields that hold the inputs, for example price and quantity.

  2. Select each input field, select "Set up rules" and give it a "Field key".

  3. Place the "Number" field that shows the result.

  4. Select it and select "Set up rules".

  5. In "Formula", type the calculation with the keys in double curly brackets, for example price times quantity.

    You can use + - * /, brackets, SUM, MIN, MAX and ROUND.

  6. Tick "Count empty fields as 0" if the total should show before every field is filled.

    The server checks the result again when the signer completes.

Related articles