2021.1

Table Of Contents
"Number patterns" on page1298 and
http://docs.oracle.com/javase/7/docs/api/java/text/DecimalFormat.html. In the data
mapping configuration, set the field type to Integer, Float or Currency. When you
open a data file or database, all fields are text fields (fields of the type string).
l Standard: displays the number with the default pattern and symbols for the current
Locale.
l Grouped displays a number with three decimal places and sets the thousands
separator for the value based on the current locale; see "Locale" on page778.
l Currency displays a number as an amount of money, with a thousands separator
and rounded to two decimal places, based on the current locale; see "Locale" on
page778.
l Currency no symbol does the same as Currency, but omits the currency symbol.
l Leading zero adds a leading zero to a floating value between 0 and 1. This format
is only available for fields that contain a float value. Note that when you open a
data file or database without a data mapping configuration, all fields are of the type
string.
l (Sum) and ∑↑ (Sum Up) are used in Detail Tables in a Print context. is for
transport rules at the end of a page and shows the subtotal of the previous page.
4. Close the Script Wizard. For a new script, don’t forget to add the selector to the template.
Showing content conditionally
One way to personalize content is to show or hide one or more elements depending on the
value of a data field or runtime parameter. For example, a paragraph written for Canadian
customers could be hidden when the recipient of the letter is not living in Canada, if that can be
derived from the data.
Showing or hiding elements using the Conditional Content Script wizard
The Conditional Script Wizard helps you to show or hide an element a paragraph, image or
other HTML element - based on the value of one or more data fields and runtime parameters.
For example, you could check whether the data field 'State' is 'Equal To' the value 'British
Columbia' or 'Québec', to include a paragraph only for recipients in those states.
To open the Conditional Script wizard:
Page 806