KwesForms V2 is finally here and it's game changing! Try it now.
Home How it Works Components Validation Spam Cloud Emails Data Security Pricing Docs API Docs FAQ Sign In Try It Free

Calculated Fields

Allows you to perform calculations between fields. Set the "value" attribute to an equation of numeric field values or hard-coded numbers. Any mathematical operator can be used.

Addition With Field Values

If you would like to perform addition with the field values, do it this way, or else it will just concatenate the field values rather than add them:

Number(fields.firstValue) + Number(fields.secondValue)
<input type="number" name="firstField">

<input type="number" name="secondField">

<input type="text" name="calculatedField" :value="fields.firstField - fields.secondField">