The desc
element decorator provides alternate text to display for reports. It is useful for shortening lengthy text, or providing an alternative description if necessary.
Syntax
1. Option Text {desc: Descriptive text here }
Examples
Question options
Q54 uses desc
decorators so that the text displayed for each option is more concise in reports. This example also makes use of the desc
tag.
54. Incredibly verbose question text here. desc: Technician Type type: radio 1. Non-contract pay-by-the-hour {desc: By the hour} 2. Non-contract flat fee per visit {desc: Flat fee} 3. Contractually obligated {desc: Contract} 4. Near shore outsourced flat fee based {desc: Near shore} 5. Incredibly verbose option here {desc: Other}
At list call
The desc
decorator can also add clarity and brevity to table rows and columns. In the example below, '[text]' will be replaced with the elements from the list FOODS. The desc
decorator will produce a description like "Rating | Strawberries," and so on.
setlist: LIKE_OPTS 1. Dislikes 2. Indifferent 3. Likes 99. N/A setlist: FOODS 1. Strawberries 2. Bananas 3. Walnuts 5. What is your chimpanzee's opinion about the following? optsfrom: LIKE_OPTS type: radiotable rowsfrom: FOODS {desc: Rating | [text] }
In crosslists
When a desc
decorator is placed on list options, these also carry forward into crosslists and crosslist quotas. Crosslists will combine each pair of a list option's desc
decorator. The crosslist will display the preferred description in the various reports and follow the default settings of "text, text" unless otherwise specified with the crosslist text separator
tag.
In the Topline example below, Q4 will display the option label "Male, Gen Z" in all reports instead of the option text "I am a male" and "Under 25." For quotas, the crosslist will show the desired label in the rows and columns instead of the programmed option text. Looking again at the same example, the crosslist quota derived from Q4 will display the description "Male" and "Gen Z" instead of the text "I am a male" and "Under 25."
setlist: GEN 1. I am a male {desc: Male} 2. I am a female {desc: Female} setlist: AGE 1. Under 25 {desc: Gen Z} 2. 26 - 41 {desc: Millenials} 3. 42 - 57 {desc: Gen X} 4. 58 and older {desc: Boomers} setlist: AGEGEN cross lists: GEN, AGE 4. Select one! type: radio quotas: y optsfrom: AGEGEN
Topline report | Quota Manager |
Comments
0 comments
Please sign in to leave a comment.