Example 3: Placeholder sequence:PADDING:PREFIX:SUFFIX

In this example, we use the sequence:PADDING:PREFIX:SUFFIX placeholder to track coffee consumption.

Procedure

To configure the template:
  1. Add a Comment element to a template.
  2. To the Comment element, add a Subject subelement.
  3. In the Initial value text box of the Subject subelement, complete the following steps:
    1. Insert the sequence:PADDING:PREFIX:SUFFIX placeholder.
    2. Replace PADDING with 5.
    3. Replace PREFIX with 'have_.
    4. Replace SUFFIX with '_coffee(s).
    Result: Your initial value entry should now look like this:
    {sequence:5:have_:_coffee(s)}
  4. Save the template and create two documents from the template.

Result

  • The first document has the subject line 'have_00001_coffee(s).'

  • The second document has the subject line 'have_00002_coffee(s).'