Text / Data Piping
Last updated
Was this helpful?
Last updated
Was this helpful?
Text piping allow you to insert a text value called a pipe tag in any of your survey text elements, s or that will get replaced while running the survey with dynamic content to give the respondent the impression that the survey has been tailored only for him.
You could for example ask the respondent for his name and then re-use his name anywhere in your survey to make it more personal.
Pipe tags can selected anywhere using the pipe tag selector icon.
Piping from an answer allows you to pipe any text based value entered by the respondent anywhere into your survey.
You may also pipe values from the browser query string variables anywhere in your survey content texts using following pipe tag ##variablename##
ngSurvey provides also following pipe tags that will be replaced dynamically with their corresponding value.
{{date}}
actual local date of the respondent.
{{datetime}}
actual local date and time of the respondent.
{{utcdatetime}}
actual universal time.
{{surveyid}}
current survey id.
{{vuid}}
id of the respondent.
{{languagecode}}
selected language code.
{{useragent}}
user agent of the respondent's device.
{{islamicdate}}
pipes the current date based on the Islamic Umm Al-Qura calendar.
To pipe the entered answer value you must first set the pipe alias of the answer in the . Once this is done you can either select the pipe tag using the pipe tag selector or using following tag [[youranswerpipealias]]. This pipe tag will be replaced at runtime while the respondent takes the survey with the actual respondent answer.
You may also pipe the selected answers (radio buttons, checkboxes) of a question. To pipe the selected answer of a question you must first set the pipe alias of the question in the . Once this is done you can either select the pipe tag using the pipe tag selector or using following tag [[yourpipealiasquestion]].
If your survey is using a you may pipe any of the logged in anywhere into your survey content texts or using following pipe tag ++yourpanelisattribute++
You may follow our to learn more on how to save a value from the querystring.
If you have activated some on your survey you may pipe their anywhere in your survey content texts using following pipe tag __dataattributeid__
As values of the depends on the that you have activated you may refer to their to learn more which they share for piping.
{{score}}
total score of the respondent if its a survey.
{{changeuid}}
unique code used to restoring respondent answers for .
{{resumeuid}}
unique code used to resume the .