Paper > Understanding Looks > UNICOM Intelligence Interviewer - Paper character styles > Conditional substitution character styles
 
Conditional substitution character styles
Conditional substitution character styles are designed for inserting standard phrases into Looks based on a property of a question or category. You define conditional substitution character styles on the Character Styles tab in the UNICOM Intelligence Interviewer - Paper Options dialog box. Each conditional substitution character style can have two paired conditional texts--one to insert when the condition is true and another to insert when the condition is false. Optionally, you can leave one of the texts blank so that no text is inserted when the condition is either true or false. You can also enter identical texts so that the text is always inserted.
When you use a conditional substitution character style in a Look, you enter a placeholder in the Look and apply the character style to it. When you apply the Look to a question, UNICOM Intelligence Interviewer - Paper replaces the placeholder with the text defined in the character style for the condition that applies to the question.
For example, you can define a conditional substitution character style that tests whether a question is single response or multiple response. You can define one text, such as Select one response only, for single response questions and a different text, such as Select all that apply, for multiple response questions. When you apply the Look to a single response question, UNICOM Intelligence Interviewer - Paper inserts Select one response only, and when you apply the Look to a multiple response question, UNICOM Intelligence Interviewer - Paper inserts Select all that apply.
Conditional substitution character styles have the advantage that you need to enter the text only once regardless of the number of Looks that you use them in, and the texts can be translated. This gives you consistency across Looks and across questionnaires. Conditional substitution character styles have the disadvantage that they cannot combine a mixture of text and symbols. However, you can achieve the same effect by combining a number of conditional substitution character styles or by using a combination of conditional substitution and conditional display character styles.
When using conditional substitution character styles in Looks, if the condition is based on a property of a question, enter the placeholder in the question portion of the Look. For conditions based on a property of a category, enter the placeholder in the answer portion of the Look. If the Look has more than one category row or has multiple columns for the category list and you are adding placeholders for conditional substitution for conditions based on properties of the categories, add the placeholder to each category in the Look. This ensures that the substitution text or symbols are displayed for all of the categories to which the condition applies.
Note Although you can edit the texts associated with the installed conditional substitution character styles, you cannot delete the styles or change the conditions on which they are based. However, you can create new conditional substitution character styles, and you can edit and delete the conditional substitution character styles that you create.
See also
List of installed conditional substitution character styles
Standard phrases in multiple languages
Adding placeholders for conditional substitution
Conditional Substitution dialog box
Adding a conditional substitution character style>
Editing a conditional substitution character style
Standard phrases and conditional styles
Conditional display character styles
UNICOM Intelligence Interviewer - Paper character styles