In aytm Logic, references and aliases can be used in multiple ways, achieving a wide range of text and survey flow manipulations.
There are multiple ways to avoid repeating and/or operators. These shortcuts can be used on one level (answers) or across multiple levels (answers and subquestions, answers and questions, etc.).
Comma = AND
Use a comma instead of repeating X and X and X for non-consecutive items on the same level.
[show if Q1A1,3,5]— shorthand for[show if Q1A1 and Q1A3 and Q1A5]. Shows the element only if A1, A3, and A5 were all selected in Q1.[skip to Q5 if Q1A1,5 and Q2A1]— skips to Q5 if A1 and A5 were selected in Q1, and A1 was selected in Q2. When crossing question levels,andis still required.
Colon = AND (ranges)
Use a colon for consecutive elements where all must be selected. Only two indices are needed to define the entire range.
[show if Q1A1:3]— shorthand for[show if Q1A1 and Q1A2 and Q1A3]. Shows the element only if A1, A2, and A3 were all selected in Q1.[skip to Q5 if Q1A1:3 and Q2A1]— skips to Q5 if A1 through A3 were all selected in Q1, and A1 was selected in Q2.
Dot = OR
Use a dot instead of repeating X or X or X for non-consecutive items on the same level.
[show if Q1A1.3.5]— shorthand for[show if Q1A1 or Q1A3 or Q1A5]. Shows the element if any of A1, A3, or A5 was selected in Q1.[skip to Q5 if Q1A1.3 or Q2A1]— skips to Q5 if A1 or A3 was selected in Q1, or A1 was selected in Q2. When crossing question levels,oris still required.
Dash = OR (ranges)
Use a dash for consecutive elements where at least one must be selected. Only two indices are needed to define the range.
[show if Q1A1-3]— shorthand for[show if Q1A1 or Q1A2 or Q1A3]. Shows the element if any of the first three answers were selected in Q1.[skip to Q5 if Q1A1-3 or Q2A1]— skips to Q5 if any of A1 through A3 were selected in Q1, or A1 was selected in Q2.
Multi-Level Shortcuts
Range shortcuts can be applied across multiple levels of the hierarchy simultaneously, using syntax like Q1:3A1-2 or Q1SQ1.3.4A1-2.
[show if Q1:3A1-2]— shorthand for[show if (Q1A1 or Q1A2) and (Q2A1 or Q2A2) and (Q3A1 or Q3A2)]. Shows if at least one of the first two answers was selected in each of Q1, Q2, and Q3.[show if Q1SQ1.3.4A1-2]— shorthand for[show if (Q1SQ1A1 or Q1SQ1A2) or (Q1SQ3A1 or Q1SQ3A2) or (Q1SQ4A1 or Q1SQ4A2)]. Shows if A1 or A2 was selected in subquestion 1, 3, or 4 of Q1.