In Upvio’s form builder, the variable name section lets you personalize forms by referencing answers from previous questions, making your forms interactive and engaging.
Here’s how to use it effectively:
-
Go to the Forms menu located on the left side of the page.
-
Select a sample form to work with. For this example, let’s use a form called "New Form."
-
Locate the Variable Name section by going to the panel on the right and scrolling down until you see the variable name field.
Variable names allow you to set references for your questions, which can then be used to pull answers for other questions.
Example steps in using Variable Name:
-
Start with a question, such as a Name field, and set the variable name to v-name.
-
Add an Email Component for the next question, and use a prompt like, "What is your email address?". Insert in the text, using double curly brackets to reference the answer from the Name field.
-
Publish the form and test it by entering a name such as "David". The next question will display "David" as part of the text.
-
To add more variables, set the Variable Name of the Email Component to v-email.
-
Use these variables in subsequent questions, like a Yes/No component, by referencing {{v-name}} and {{v-email}}.
-
Publish the form again to see the personalized questions. Enter "David" and his email, and see the following questions dynamically reference these details in real-time.
Using variable names in Upvio is simple! Just enclose the variable name in double curly brackets, like {{v-name}}, within your questions. This powerful feature in Upvio’s form builder allows you to create personalized, engaging, and visually appealing forms that connect with users effortlessly.