Question Modifiers
Some question types have additional commands that alter and enhance their default behavior.
[shelf {...}, {...}...]
If you need to override default item placement in the Shelf Test, you can use [shelf {...}, {...}...] to organize products by shelves. Each argument is a shelf, and its constituents are item indices which go into that shelf. So, [shelf {1,2,3}, {2,3,4}] will place product items 1, 2, 3 on the first shelf and product items 2, 3, 4 to the second shelf.
There are also the following variations of the logic command: [shelf-left ...], [shelf-right ...], [shelf-flex ...], [shelf-center ...]. They specify the required alignment of the items.
Command [shelf-center ...] will have the same result as [shelf ...].
Examples
- [shelf {1,2,3}, {2,3,4}] - will place product items 1, 2, 3 on the first shelf and product items 2, 3, 4 to the second shelf. Center alignment is presumed.
- [shelf-left {1,2,3} if q1a1] - will place product items 1, 2, 3 at the left side of the first shelf if a respondent chooses q1a1.
- [shelf-right {1,2,3}, {2,3,4}] - will place product items 1, 2, 3 at the right side of the first shelf and product items 2, 3, 4 at the right side of the second shelf.