Skip to content

Answer piping

Answer piping lets you use a respondent's earlier answers in other parts of your form. Instead of asking people to repeat information, you can show their answers in later questions, messages and confirmation emails.

Updated

For example, if someone enters their name as Alex, you can use that answer to write:

"Thanks, Alex. Let's learn more about your business."

OG Forms also supports form variables, which let you reuse values you define yourself.

Use an earlier answer in your form

You can insert an answer token into text that you write in your form.

Answer piping works in:

  • Question titles
  • Question descriptions
  • Screen titles
  • Button labels
  • Welcome page text
  • Thank-you page text
  • Confirmation email messages

The respondent sees the actual answer in place of the token.

How answer tokens work

Each question has its own ID. Answer tokens use that ID to find the correct answer.

The format is:

{{field:FIELD_ID}}

Replace FIELD_ID with the ID of the question whose answer you want to reuse.

For example, you could use a respondent's name in a later question or welcome message.

In the builder and exports, OG Forms displays these tokens as @Question Label. This makes it easier to see which answer a token refers to.

Use answers in confirmation emails

You can also use answer piping in the confirmation email message sent to respondents.

For example, you could include the respondent's name or another answer in the email so the message feels more personal.

OG Forms resolves the tokens using the answers from that specific submission.

Use form variables

Form variables let you define values and reuse them in different parts of your form.

A form can have up to 50 named variables. Each variable can be a text or number value, with an optional default.

To reference a variable in your form, use:

{{var:VARIABLE_ID}}

Replace VARIABLE_ID with the variable's ID.

Variables and answer piping use the same system, so you can use them in the same text areas.

What happens if you rename or delete a question?

Answer tokens are linked to question IDs, not question names.

This means renaming a question does not break tokens that already refer to it.

If you delete a question or variable, its token resolves to nothing for respondents. In the builder and exports, it appears as an empty label.

Keep going

Built to never let you down.

Create unlimited forms, surveys and quizzes with confidence.