Page tree
Skip to end of metadata
Go to start of metadata

The Piping feature allows users to inject previously collected data into text on a data collection form or survey, thus providing greater precision and control over question wording. It can also be used in other ways, such as for customising survey invitations (e.g. by including the respondent's name in the email) or survey acknowledgments (e.g. thanking your respondent by name after completing a survey).

Piping can be used in many different places in REDCap. Below is a list of all the places where Piping may be utilised to insert a data value as text.

  •  Field Label
  •  Field Note
  •  Section Header
  •  Matrix field column headers
  •  Option labels for multiple choice fields (radio, drop-down, checkbox)
  •  Slider field labels (i.e. text displayed aboved slider bar)
  •  Survey Instructions
  •  Survey Acknowledgement Text
  •  Survey invitation emails (sent via Participant List or Automated Invitations) - includes both subject and message
  •  Custom text displayed at top of Survey Queue

 

To use piping, do the following:

  1. Edit or add the field you would like to apply piping to
  2. In the “Field Label” box, enter the question and include piping by typing in brackets the variable name of the question answer you would like in include (e.g. [first_name], as shown in picture below)
  3. When you go to enter data on the form or survey, either a blank line or an entered answer will appear where piping is applied (as shown in pictures below)
    Or entered answer:
  • No labels