2021.2

Table Of Contents
2. Select the operator. The downward pointing arrow expands the list of operators with
which the data can be evaluated.
The options available will depend upon the Data Field or Parameter type (they are "type
aware"), but most have at least "is equal to" and "is not equal to" as an option. For the
complete list of options per data type see "Conditional Content script dialog" on
page1014.
3. Enter the Value that should be used for the conditional check.
l Values (in Strings) are case sensitive by default; you can click the button next to
the value to make them case insensitive.
l Dates should be entered in ISO standard notation (yyyy-mm-dd) (see ISO 8601). It
is best to select the date using the date selection option.
It isn't possible to enter more than one value in one rule. Comparisons to multiple values can be
made by combining rules in a group.
For example, an "after" and "before" rule combined in one "all of the following" group can be
used to check whether a date falls between two dates.
To save the script, click Apply or OK.
The selected action will be performed if the joint groups and rules evaluate to true.
If, conversely, the condition evaluates to false, the opposite action will be performed.
To see the result, toggle to the Preview tab at the bottom of the workspace (or select View >
Preview View on the menu).
Note
If a condition cannot be made with the wizard - for example, one that compares a data
field to a runtime parameter value - you can click Expand and edit the code of the script
(see "Writing your own scripts" on page877). But be careful: once the script has been
altered, there is no going back to the wizard.
Tip
Take a look at the Resources pane: on each Print section that is affected by a Conditional
Print Section script a small decorator appears if it is skipped with the current data record.
Page 822