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 Item Position Logic
Append P to a direct reference to get the position at which that item appeared to a particular respondent — returned as readable text such as "first", "second", "third", etc. If the item wasn't seen by the respondent, an empty value is returned.
This is especially useful when a respondent expressed item preference through a Reorder (ranking) or Side-by-Side exercise. For example: "You mentioned apples were your [Q1A1p] choice, why?" — if apples ranked second in Q1, the respondent sees: "You mentioned apples were your second choice, why?"
Common Use Case Examples
[Q12A1p]— Q12 was a single-choice question with randomization on. Returns "first", "second", "third", etc. depending on the position at which A1 appeared to each respondent.[Show if Q12A5p="first"]— shows the element only if A5 in Q12 appeared in the first position for that respondent.