Adding a Placeholder Field to a Component
You can make an interview more dynamic by adding placeholder fields to component properties (such as Titles, Prompts, Additional information, etc.), Text properties in Dialog elements, and to non-Key columns in Fixed table components and Built in tables.
To add a placeholder field to a component
- Open Component Studio.
- Open:
- The variable or dialog whose component property (such as Title) you want to add a placeholder field to
- The Dialog element (Text Element, Divider, Script Link and Web Link) whose Text property you want to add a placeholder field to
- The Fixed table component, Single Select variable, or Multi Select variable
- Place your cursor in the component property or non-key column 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.
- If you choose a variable:
- 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.