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 Random Number Logic
For cases where you want to use random numbers in your logic, use [rand from:to] to generate a random integer within a defined range. The number can then be shown to the respondent, used in survey flow operations, or in any other logic.
- "Imagine you were given
[rand 2:7]days of vacation..." — a random number in the range 2–7 is shown to the respondent in place of the logic. [savedRandom=rand 1:100]— stores a random number in a variable for later use, e.g.[show if savedRandom<30]to show an element to roughly 30% of respondents.