The desc
tag provides alternate text to display in reports. It is useful for shortening lengthy text or providing an alternative description.
1. What type of technician do you <b>primarily</b> use for these types of repairs?
type: radio
desc: Technician type
1. Non-contract pay-by-the-hour
2. Non-contract flat fee per visit
3. Contractually obligated
4. Near shore outsourced flat fee based
97. Other technician type {autoother: y}
Tip! If alternate descriptions are needed for individual list elements, use the desc
decorator instead.
Details
- The
desc
tag can be added to questions and tables, replacing the question text with the alternative description. - When applying the
desc
tag to questions in a block, you can include the '%%TEXT%%' placeholder in the alternate description so each iteration includes the text of the list element driving that iteration. - If need be, the
desc
tag anddesc
decorators can be applied together on a question or table.
Additional examples
Using alternative descriptions on a question in a block
Blocks are widgets that contain one or more questions that are repeated (or "looped") for a specified list of elements. The '%%TEXT%%' placeholder will substitute the text of a list element for a given iteration. This placeholder can be included as input in a desc
tag so that each iteration has a similar description.
In the example below, Q2_%%ID%% is looped for any elements in TPBRANDS that received a '3' in Q1. If a respondent gives a '3' to Charmin and Quilted Northern, the respondent then sees Q2_1 (Charmin) and Q2_3 (Quilted Northern) in the block. Q2_1's alternate description would then be "Likelihood to recommend Charmin" while Q2_3's alternate description would be "Likelihood to recommend Quilted Northern."
setlist: TPBRANDS
randomize: y
1. Charmin
2. Angel Soft
3. Quilted Northern
4. Seventh Generation
1. What is your awareness of the following toilet paper brands?
type: radio table
1. Unaware
2. Aware, never purchased
3. Purchased
rowsfrom: TPBRANDS
block: <<END
2_%%ID%%. On a scale of 1 to 5, how likely are you to recommend %%TEXT%%?
type: radio
hscale: y
headings: Highly Unlikely, Highly Likely
optsfrom: series [1..5]
desc: Likelihood to recommend %%TEXT%%
END
list: TPBRANDS {if anyChecked($Q1R[id],3)}
Comments
0 comments
Please sign in to leave a comment.