How to Set Conditionals
- Condition: Enter the condition
which determines whether or not this element will be added to the document at print time.
Use JavaScript conditional expressions to construct your conditional. You may use JavaScript logical operators ( ==, !=, <, >, &&, ||, etc), literal values ("text', 3.14, etc), mathematical operators (/, *, +, -, etc) and data fields.
-
Add: Click to add a field to the to the conditional expression. Select from a list of metadata fields (as added in Metadata
Options), document information fields (see Variables Available in Output), or common
expressions. For example, selecting the Expressions > First Page would add "page.nr == 1" to the conditional entry.
Example: if (page.nr == 1) { ... }
|
|