Some question types have additional commands that alter and enhance their default behavior.
Shelf Test: [shelf {...}, {...}...]
To override default item placement in the Shelf Test, use [shelf {...}, {...}...] to organize products by shelves. Each argument is a shelf, and its contents are the item indices placed on that shelf. For example, [shelf {1,2,3}, {2,3,4}] places items 1, 2, 3 on the first shelf and items 2, 3, 4 on the second.
Alignment variants are also available: [shelf-left ...], [shelf-right ...], [shelf-flex ...], [shelf-center ...]. [shelf-center ...] produces the same result as [shelf ...].
Examples:
-
[shelf {1,2,3}, {2,3,4}]— places items 1, 2, 3 on the first shelf and items 2, 3, 4 on the second. Center alignment is the default. -
[shelf-left {1,2,3} if q1a1]— places items 1, 2, 3 on the left side of the first shelf if the respondent selects Q1A1. -
[shelf-right {1,2,3}, {2,3,4}]— places items 1, 2, 3 on the right side of the first shelf and items 2, 3, 4 on the right side of the second shelf.
Learn more in the Shelf Test Logic article.
Exclusive Logic
Using Exclusive logic, you can prevent respondents from selecting certain answer options together in a Checkbox or Multichoice Progressive Matrix question. Exclusive all prevents a respondent from selecting any other answer once a specific option is chosen — similar to the N/A feature.
Exclusive
In the answer option text field, enter exclusive logic referencing the answer option(s) that should not be selected simultaneously. In the example below, a respondent who selects Q1A1 (Oil-free) cannot also select Q1A2 (Oil-based). A respondent who selects Q1A2 (Oil-based) cannot also select A1, A3, or A4. This prevents conflicting answers within the same question.
Exclusive All
Exclusive all bars a respondent from selecting any other answer once they've chosen the option it's placed on. In the example below, if a respondent selects A8, no other option can be selected. You can combine this with a follow-up question using [show if Q1A8] to route respondents who selected that option.
Exclusive in Progressive Matrix Questions
When using Exclusive logic in Multichoice Progressive Matrix questions, the logic must be entered in the Matrix Answer Option field. It will only trigger if the answer field it's placed in is selected by the respondent. In the example below, if a respondent selects SQ1A1, they cannot also select SQ1A3.
Learn more in the Exclusive Logic article.