Learn more about References in our Basic aytm Logic course!
Direct references point to a specific survey question, or to one of its subparts. You can think about it as an address of any given field within the survey. Use the following conventional letters to refer to a question, sub-question or one of its answers. A few example of direct references:
- PQ1 - refers to the first Pre-Qualification question
- PQ1A1 - refers to the first Answer on the first pre-qualification question
- Q1 - refers to the first Question
- Q1A1 - refers to the first answer on the first question
- Q1SQ1 - refers to the first Sub-Question of the first (matrix) Question
- Q1SQ1A1 - refers to the first Answer on the first Sub-Question of the first Question
- [Hide if PQ1A1] - If you insert this logic into a question field, entire question will be hidden for those respondents who have selected the first answer on the first pre-qualification question of the survey.
- [Q1A1] - Say first answer on the first question was "Toyota". By inserting this reference into any following field in the survey you can remind respondents of their choice and ask for clarifications. For example: if you program: "You have mentioned earlier that your favorite car brand is [Q1A1]. Please share why." respondent will see: "You have mentioned earlier that your favorite car brand is Toyota. Please share why."
References are programmed to refer to the same element, even if its location has changed due to addition of new elements in front of it, or even due to dragging it to a different place. Thus, [Show if Q1A1] will become [Show if Q2A1] if you add a new question in front of Q1. Same applies for other levels of the hierarchy: sub-questions and answers.
If you delete an element, referenced in an aytm logic, the reference will be highlighted in orange. We will also add a "?" sign in front of it (e.g. [Show if ?Q1A1]), indicating that it now points to a different question than initially targeted, and it needs your attention. Don't worry - it is not possible to launch a survey without fixing all broken references.