With the 123FormBuilder online form builder you can perform calculations on your web forms & surveys. Use form calculations to add mathematical operations between your fields on your online forms.
First, you need to assign the values to your products/services. To do so, please add a choice field (single/multiple choice or dropdown field) and list the available choices.
Click go to Settings – Payments – Calculations, select the field and click on Assign Value. Next to each option type their correspondent price.
If you need the user to type the amount, add a number field and assign the value “1”. By default, a field has no value assigned to it, meaning the input will be multiplied with zero. The form will calculate input value X 1. ( e.g user types 123, the number field will calculate 123 X 1= 123 instead of 123 X 0= 0).
When you are using an input field, it works as a quantity field. Assign the full price to the field (e.g $150). If the user types 2, the calculation will be 2 X 150 = 300$.
To create mathematical operations on your form, add a number field on the form. This field will show the total value in real-time.
In Payments, select the respective number field and click on Assign Formula.
A calculator will appear where you can add operations between your form fields. Use the dropdown list within the calculator to add your form fields. Once the field is selected, it will be automatically added in the formula. You can use your keyboard to add operators and values.
You can also add calculations between Date fields. The operation between two Date fields will return the value in number of days.
If you are using another version, check out this article with the same subject.