In aytm logic, references and aliases can be used in multiple ways, achieving a wide range of possible text and survey flow manipulations.
How to Reference an Image
To show an image associated with the element, append "i" to the direct reference and the image will become attached to the field. To specify image options, you can also add "x" to toggle expanded view, "s" to allow image scrolling, and "xs" if you want both functionalities enabled. This logic can also be used to generate and display a thumbnail of a video uploaded to a video question. Use "i" along with a reference to the video question to display it.
Please note: if respondent didn't see the sourced image, no image will be shown.
|
Common Use Case Examples
- [Q1i] - Wherever placed, this command will place an image taken from the first question.
- [Q1ix] - Wherever placed, this command will place an image taken from the first question, and make it expanded.
- [Q1is] - Wherever placed, this command will place an image taken from the first question, and make it scrollable.
- [Q1ixs] - Wherever placed, this command will place an image taken from the first question, and make it both expanded and scrollable.
- [Q1A1i] - Wherever placed, this command will place an image taken from the first answer on the first question.
- [Q1R1i] - Wherever placed, this command will place an image taken from the first response on the first question.
- [show if q1R1i] - The element will be shown if the first response from the first question had an image
- [Q1i] - When Q1 is a video question, a thumbnail of the video will be displayed.
|