An autoother refers to an "Other" option that gives respondents the opportunity to write in a response. When used in tables, autoothers can be placed in the set of row-questions or in the set of answer options.
Try it!
Details
- If used as a row-question, use the standard approach with the
autoother
decorator, as shown above for "Other fruit." -
If used as an answer option, add an
autoother
decorator to the option set. Target the option with thecell
tag. Lastly, specify theautoother
parameters directly on thecell
tag, as shown above for "Other meal." - All parameters used with autoothers for questions can also be applied to autoothers in tables.
- Each table row or column has a field corresponding to the option ID. Autoother text fields are created with the parent question ID plus
_OTH
. For example, selecting option '97' in row 1 stores '97' inQ5R1
, and the text input inQ5R1_97_OTH
. - Autoothers may be referenced directly by their field names for writing logic or piping in text later in a survey. For example, field
Q5R1_97_OTH
can be referenced as '$Q5R1_97_OTH'.
Creating autoother table options
There are three steps required to create unique, per-row, autoother options:
-
Create the option ID, and apply the
autoother
decorator next to it. -
Target the autoother with the
cell
tag, followed by the letter 'O', and the option ID enclosed in square brackets. -
Trigger the autoother with at least one
autoother
parameter, placed inline with thecell
tag.
cell: O[97] {autoother placeholder: specify}
97. Other {autoother: y}
Note: The first parameter should include the word "autoother," while additional parameters can be added and separated by a semicolon. After the first parameter, the word "autoother" is not used.
Additional examples
Creating two autoother rows
You can create multiple autoothers as long as each has a unique ID, as shown in the example below.
Also notice that in table rows, the autoother's response options remain disabled until the respondent enters text in the field.
Creating two autoother options
Similar to creating autoother rows in a table, you can create multiple autoother options, each with a unique ID. Each option ID should be targeted with the cell
tag and defined within square brackets. To target multiple IDs with a single cell
tag, as shown below, separate the IDs with a comma.
Notice that since the placeholder
parameter is the first (and only) parameter, it includes the word "autoother."
Adding multiple autoother parameters
To use multiple parameters to modify an autoother's display, separate them with a semicolon. For example, you can add the size
parameter after the autoother placeholder
parameter by placing a semicolon between them. See below.
5A. What cookies do you like in eat in "snack packs" and where do you eat them?
type: checkboxtable
1. Chips Ahoy!
2. Oreo
3. Nilla
4. Nutter Butter
97. {autoother: y}
98. {autoother: y}
cell: O[97,98] {autoother placeholder: Other; size: 8}
rows:
1. School
2. Work
3. Park/playground
4. Car
Comments
0 comments
Please sign in to leave a comment.