Forms · Glossary
What is piping in a survey?
Piping inserts something already known into the wording of a later question or its options. Most often it is an earlier answer: a respondent names the café they visit most, and the next question asks what they like about that café by name. It can also carry a value passed in with the survey link or a contact list.
A question that names the thing somebody just told you about is easier to answer and harder to misread than one that says the option you selected above. It is also one of the easiest survey features to break, because a blank or unexpected answer lands straight in the middle of a sentence.
Indunil Asanka · Co-founder
6 min read · Published
| Technique | Where the value comes from | Where it appears | Respondent sees it |
|---|---|---|---|
| Answer piping | An answer given earlier in the same survey | Later question text or answer options | Yes, inside the wording |
| Merge fields | A contact list or mailing record, before the survey starts | Invitation emails, and sometimes the survey itself | Yes |
| Hidden fields | The survey link or the page around the form | Stored with the response only | No |
| Carry forward choices | The options somebody ticked earlier | The option list of a later question | Yes, as a shorter list |
What piping is used for
The commonest use is precision. How satisfied were you with the store you visit most asks the respondent to hold two things in their head, while how satisfied were you with the Subiaco store asks one. Piping also keeps long surveys coherent, so a follow up can refer to a product, a date or a person the respondent has already named rather than to an abstraction. Survey platforms have extended the idea well beyond answers. The larger platforms can insert previous answers, values passed in with the link, contact details, dates, scores and location into question text, answer choices and even the emails that follow.
How it works behind the scenes
A piped question contains a placeholder where the value belongs. When the respondent reaches that question, the placeholder is replaced with whatever was recorded. That timing matters. An answer usually has to be submitted with a Next button, with a page break between the two questions, before it can be piped, which means piping works across pages or screens rather than within one. It also means the pipe carries exactly what was typed or chosen: spelling mistakes, capital letters, trailing spaces and the text someone put in an other box all appear in the next question exactly as entered.
Where piping goes wrong
Blank answers are the first failure. If the source question was optional or skipped, the later question reads what did you like about ? and looks broken. Typed answers are the second, because a respondent who wrote the one near work gets that phrase repeated back in a sentence that no longer makes grammatical sense. Piping can also create context effects. Pew Research Center shows that earlier questions shape answers to later ones, and repeating a respondent's own words back can anchor the next answer more strongly than a neutral reference would. Finally, sensitive answers displayed on screen can be read by anyone nearby, which matters on shared devices and in waiting rooms.
Testing piped questions
Test a piped survey with deliberately awkward answers rather than tidy ones. Leave the source question blank, type a single letter, paste a very long phrase, use lower case, add a trailing space and pick the other option with something odd in its box. Then read every later screen aloud. Anything that sounds wrong to you will sound wrong to a respondent, and it will also look wrong in the report when somebody quotes the question. Repeat the test on a phone, where a long inserted value can push a question onto three lines and bury the answer controls below the fold.
Getting most of the benefit without it
Three workarounds cover the majority of cases. First, refer back without quoting: thinking about the store you chose on the last screen is clunkier than naming it, but it cannot break. Second, when the source question is a choice with a fixed list, route each option to its own screen whose wording names that option, which gives the exact effect of piping for every answer and lets each follow up be tailored. Third, ask the follow up on the same screen as the original question, so the person can see what they said without it being repeated. For typed answers there is no clean substitute, so write the later question so that it makes sense on its own.
Piping and this form builder
This form builder does not support answer piping. No placeholder can insert an earlier answer into a later label, option or screen, and there are no hidden fields to carry values in from a link either. What it does have is jump rules on conversational forms: a rule on a choice question can send each answer to its own screen, so a customer who picks the Subiaco store sees a screen written about Subiaco. That is the second workaround above, built by hand. The waitlist example avoids the problem another way: it asks for a first name, then asks where to send the place number without repeating the name, so nothing can come out garbled.
Questions people ask
Is piping the same as personalisation?
Piping is one way to personalise a survey, using what the respondent has just said. Personalisation also covers greeting people by name from a contact list, showing different questions to different groups and adjusting language. Piping is the most visible of these, because the respondent watches their own answer reappear, so it is the one most worth testing carefully.
Can piped values go into answer options, not just questions?
In larger survey platforms, yes. A common pattern is carry forward, where only the options somebody ticked in one question appear as choices in the next, such as asking which of the brands you have used is your favourite. It keeps lists short and relevant, but it produces a different set of options for every respondent, which complicates analysis.
What should happen when the piped answer is empty?
The question should still read naturally. Some tools let you set default text that appears when the source is blank, such as the item you chose. Where no default exists, make the source question required or write the later question so it works without the value. Test both paths, with and without an answer, before sending the survey.
Does piping work in the invitation email?
What appears in an invitation is usually a merge field rather than a pipe, because the email goes out before anybody has answered anything. It draws on a contact list: first name, account number, the date of a visit. The same caution applies, since a missing first name produces a greeting with a gap in it.
Can piping be used in a multilingual survey?
It can, but typed answers stay in whatever language the respondent used, and grammar around the inserted value often needs to change between languages. A sentence built around a piped noun may need a different article, case or word order in each translation. Choice answers are safer, because each option's label can be translated along with the question.
Does piping affect how people answer?
It can. Seeing their own words repeated makes the earlier answer more salient, which can pull the next answer in the same direction. For a factual follow up that is usually harmless. For attitude questions that will be compared across groups, a neutral reference keeps the measurement cleaner and the question identical for everyone.
Make one with forms
The button opens the generator with this use case already described. Change the wording to match your own.
Create a form with OneCraftRelated questions
- What is a hidden field in a form?What is a hidden field in a form? A value the respondent never sees, usually filled from the link, such as a campaign or referrer. Uses, risks and support.
- Skip logic vs branching logicSkip logic vs branching: skip logic jumps a respondent past questions, branching sends groups down different paths. How display logic and piping differ.
- What is a JSON payload?What is a JSON payload? The data in the body of a web request, written as JSON. An annotated form submission example, and keys by label versus by id.
Step by step in the builder: Create a conversational form with AI, then Every form field and when to use it.
Written and checked by the OneCraft team. Last checked .