Calculated fields are variables that can be used to create dynamic content, based on the answers from your respondents in your form. Think of calculating the price for a payment form, calculating the score of a quiz, or assigning a value such as a lead status to a respondent.
✔️ Create dynamic content
✔️ Calculate scores & prices
✔️ Assign text values
Calculated fields are available for free to all Tally users.
Insert a calculated field in your form by typing
- Name your calculated field, to easily retrieve it in calculations later on
- Choose whether the value will be text or a numeric value
- Then add an initial value as a starting point of your calculation. This can also be zero or left blank.
The value of a calculated field gets calculated by using conditional logic. Type
/logicto insert conditional logic.
Conditional logic allows you to perform multiple actions. When using calculated fields, we want to select the
You can perform numeric and textual operations with the Calculate action.
- Add a value
- Subtract a value
- Multiply with a value
- Divide with a value
- Assign: add a text value (for example ‘hot lead’)
- Concatenate values: combine values in one string
In this example the respondent can choose between 2 products. When the respondent chooses "Apple" we want to add $2 to our calculated field (the price). When the respondent chooses "Pear" we want to add $3.
- Add conditional logic using the Calculate function:
- When the answer to the question Choose a product contains the answer Apple ($2)
- Then Calculate our calculated field Price and Add+ the value of 2
- Repeat this for the answer option Pear ($3)
Calculated values are not by default visible in your form. You can find them in the results tab of your form, but you can also choose to display the calculated values in your form, use them in a payment form, or to create a dynamic redirect on completion.
To mention your calculated value in your form, simply type
@and choose the calculated field from the dropdown menu. You can use this to show a final price, score or quiz result in your form.
You can use a calculated field to calculate the price of your payment form and make it dynamic based on the answers of your respondents.
- Insert a payment form
- Choose your calculated field from the Price dropdown menu in your payment block
- The price will now automatically and in realtime be updated according to your respondent's answers
Use calculated fields to redirect respondents to different landing pages, based on their responses. You can do this by using a calculated field as your Redirect on completion link.
- Insert a
calculated fieldand name it (for example: URL).
Conditional logicand assign a URL based on your conditions.
In this example we want to redirect respondents that choose "Pricing" to the landing page "acme.inc/pricing" and respondents that choose "News" to the landing page "acme.ince/blog" when they submit the form.
- Go to form settings →
Redirect on completion, click or type
@and choose your calculated field from the dropdown menu.Redirect on completion
4. Your form will now redirect respondents dynamically based on their responses.
Use calculated fields to customize the email body or recipients of your respondent or self email notifications.