Adding a Placeholder Field to a Component
You can make an interview more dynamic by adding placeholder fields to variable or dialog titles, variable prompts, and the text in dialog elements.
To add a placeholder field to a component
- Open Component Studio.
- Open:
- The variable or dialog whose title you want to add a placeholder field to
- The variable whose prompt you want to add a placeholder field to
- The dialog element (Text Element, Divider, Script Link and Web Link) whose text you want to add a placeholder field to
- Place your cursor in the component property where you want to add a field.
- In the Tools pane, click on the Field Editor tab.
- From the Placeholder Type list, select one of the Variables or Computed Values types (a Computation or Other Expression).
- If you choose a variable:
- Select or type a variable name.
- (Optional) Select or type a Linked dialog name.
- (Optional) Select or type a Format.
- If you choose a Computation:
- Select or type a Computation name.
- (Optional) Select or type a Format.
- If you choose Other Expression:
- Type an Expression.
- Click Add Field.
If you use a placeholder field in a component's interview display text, you must make sure the template user provides an answer for that placeholder before the interview displays the component containing the placeholder field.