Variables help make your typeforms personal, interactive, and useful. They allow you to use the information you collect from people to create smart questionnaires, quizzes, and even shopping baskets.
So what are they? Variables could simply be the answers to questions in a typeform or they could be a score or price calculated based on answers to questions. You can access, calculate, and display variables through the following functions:
Read on to find out how to use each one to make the most of variables:
Piping allows you to reuse answers to previous questions to intelligently formulate new questions and statements. Here‘s a full article on how to ‘pipe’ variables inside your typeforms.
Examples of what you can do with Piping:
- Use the respondent’s name in questions to give your typeforms more of a human touch
- Confirm answers to previous questions
- Display the final price in a shopping basket
- Show a person’s score in a quiz
The variables stored in Hidden Fields are based on information you already have about people. So, if you have a customer database you can pass the information from it into a typeform. This can be done either manually or through integration with your CRM or marketing automation software. Click here to find out how Hidden Fields work.
Examples of what you can do with Hidden Fields:
- Welcome people by name as soon as they open a typeform
- Pre-populate questions and statements with information you already know about someone (such as their email address, age, or even their shoe size!)
- Track where people come from when they open a typeform
- Send a notification to a respondent’s email address upon completion
The Calculator feature allows you to compute the ‘Score’ variable, which can be used for quizzes, personality tests, and more. You can pipe the Score variable to show people their results in a statement field, display them in a Thank You screen, or even share them in an email notification.
Examples of what you can do using the the Calculator and Score variable:
- Add up someone’s score in a quiz
- Create a personality-style test where you show someone what type of person they are
- Recommend a product or service to someone based on their preferences
- Calculate the number of items in an order
The Calculator is also used to calculate the ‘Price’ variable when collecting payments from people. For example, if they want a book it adds $12, if they want a book and a muffin it adds $14 to the Price variable. The total price is then sent to the Payment field ready for the customer to check out.
Click here to find out more about using the Payment block and Price variable. You can access some cool templates and examples there, too.
Examples of what your can do using the Payment block and Price variable:
- Create a shopping basket
- Set up a donation campaign
- Collect payments for your services
Use the Calculator to add up the cost of each item in an order in the Price variable…
…then display the total amount to the customer using Piping.