To customize templates with advanced features, the following tips and tricks may be useful.
- Conditional Blocks
Users can utilize conditional blocks to hide a section in the Word or PDF document.
To add a conditional block, use the following format:
<conditional @attributeName>
block content
</conditional>
To avoid extra line breaks, it’s best to add the conditional tags directly next to your content.
For example:
<conditional @attributeName>Content Line1
Content Line2
Content Line3</conditional>
- Conditional Blocks: Examples
-
- Watermarks
To add watermarks, insert <conditionalWatermark @attributeName/>
anywhere in the document.
- Column Sorting in Grids
To sort a grid according to an attribute (or column), add either of the following symbols in the first cell of the first row (header row most of the time):
^attributeName
for ascending
~attributeName
for descending