Example 5: Placeholder elementcounter

In this example, we use the elementcounter placeholder to create numbered instructions.

Procedure

To configure the template:
  1. Add two Comment elements to a template
  2. To each Comment element, add a Subject subelement.
  3. In the Initial value text box of each of the two Subject subelements, complete the following steps:
    1. Type the word Instruction.
    2. Type a space.
    3. Insert the elementcounter placeholder.
  4. Save the template and create a document from the template.

Result

The first Comment element has the subject line 'Instruction 1,' and the second has the Subject line 'Instruction 2.'