# Dynamic questions & answers

You can collect specific customer data during your quiz, such as names, that you use in follow-up questions or results to personalize the experience.

There are two ways to do so depending on the question type.

## In this section

* [Personalizing form question types](#personalizing-form-question-types)
* [Personalizing other question types](#personalizing-other-question-types)

***

## Personalizing form question types

For form and contact form questions, you can use customer data that's entered in to personalize the subsequent questions.&#x20;

The following steps use the example of collecting the customer's name.

**Steps:**

1. From the quiz builder, navigate to the question and field where you want to collect data to personalize follow-up questions.
2. Under **Content**, in the **Name** text field, add a variable name. For example, if you want to collect a customer's first name, then give it a recognizable variable name like `FirstName`**.**
3. Navigate to the question where you want to use the customer's first name. Add the same variable name (`{FirstName}`) wherever you want the first name to show up.&#x20;

For example, in the **Heading** text section, you might write `Hello {FirstName}!` which would display the user's first name instead when they take the quiz.

You can use variables in the next question's **Heading**, **Subheading**, and **Bottom text.** You can also use it in the **Results** page's **Text, Subheading**, and **Heading.**

Additionally, you can use them in the **Email subtitle**, **Email title**, and **Email description** of the **Results email template**. &#x20;

***

## Personalizing with answers

You can use the answers from previous questions to personalize follow-up questions. \
\
Each question in your quiz has a number representing the order it appears in your quiz.&#x20;

For example, question #1 in a quiz is `What's your favorite flavor?`  If you want to reference the flavor choice in question #2, then in question #2 you include the variable `{1}` since it's the answer for question #1.

<figure><img src="/files/HUfCAn8A1dYvulO8mgwx" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://support.quizkitapp.com/advanced-settings/personalizing-your-quiz/dynamic-questions-and-answers.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
