2021.2

Table Of Contents
l The Toggle non-numeric fields button filters non-numeric fields from the list. The
list will then display only Integer, Float and Currency data fields.
l The Move Up and Move Down buttons change the order of the fields, which is
reflected in the chart.
l OK: Click to save any changes made to the script, apply the changes in the template, and
close the dialog.
l Cancel: Click to close the dialog without saving changes.
l Expand: Click to convert the script generator to a regular script. Note that this action is not
reversible once the regular script has been saved.
The expanded script will use either double or single quotation marks, depending on the
Preferences (Window > Preferences >Scripting; see "Scripting preferences" on
page872).
l Apply: Saves changes made to the script and applies the changes in the template
without closing the dialog. Note that the effect will only be visible on the Preview tab in
the Workspace.
Expanded Script window
When expanded, the Script window replaces all parts of the wizard below the Selector by a box
in which the script can be typed. See "Writing your own scripts" on page877.
For an overview of keyboard shortcuts that can be used in this script editor, see "Keyboard
shortcuts" on page1041.
Conditional Content script dialog
Conditional Content scripts can show or hide elements depending on certain conditions and
values. They can be added by right-clicking any element in a template and clicking Make
Conditional. If the current element has neither an ID nor a class, an ID will be automatically
generated. See "Showing content conditionally" on page815.
The general options in the Conditional Script wizard are:
Page 1014