In aytm Logic, references and aliases can be used in multiple ways, achieving a wide range of text and survey flow manipulations.
How to Use Piping Logic
You can extract question, subquestion, or answer text using direct references — simply mention the reference in the logic without any modifiers. The logic can be placed at any level: question, subquestion, or answer.
💡 Tips:
- The respondent must have been exposed to the element before its text can be piped. If the exposure didn't happen, "logic error" will be piped instead.
- To pipe answer text in questions that have a subquestion level, you must include the subquestion in the reference — e.g.
[Q1SQ1A5]to pipe the fifth answer from Q1.
Common Use Case Examples
[Q10]— pipes in the question text from Q10[Q10 if Q5A1]— pipes Q10's text if the respondent chose A1 in Q5[Q10 if @promoter]— pipes Q10's text if the respondent was aliased as "promoter" earlier in the survey[Q10A1]— pipes in the first answer text from Q10[Q10A1 if Q5A1]— pipes Q10's A1 text if the respondent chose A1 in Q5[Q10A1 if @promoter]— pipes Q10's A1 text if the respondent was aliased as "promoter"[Q10SQ1]— pipes in the first subquestion text from Q10[Q10SQ1A1]— pipes in the first answer of the first subquestion of Q10[Q10R]— pipes in the respondent's response to Q10[Q10Ri]— pipes in the image associated with the respondent's response to Q10[Q10A3c]— pipes in the open-ended comment from A3 in Q10