2018.2

Table Of Contents
l
Business Graphic Script: This script controls the contents of a Pie Chart, Bar Chart or
Line Chart. See "Business graphics" on page225.
l
Conditional script: This script shows or hides content elements depending on certain
conditions and values. See "Showing content conditionally" on page311.
The result of the script can be either text appearing on the page, an email address or subject,
the barcode data, or a JSON string that is written to the attribute of an HTML element.
Options
For the options in Conditional Script wizards see "Conditional script dialog" on page441.
In other Script wizards, the following options are available.
l
Name: The name of the script, making it easier to identify it.
l
Selector/Find text: The Selector or Text to apply the result of the script to.
l
Selector: Uses CSS selectors to find the element to which the script applies
l
Text: Uses text as a trigger for the script. The script applies to all instances of the
text found in the template.
l
Selector and Text: Uses text as a trigger for the script but only applies to text within
the specified Selector.
Note
Email script wizards don't have the Selector or Find text option. Instead they select
the header of the specified Section (the current one, by default) or All email
sections. Note that the Section name is case-sensitive.
To see the actual (HTML) selector that an email script uses to select a section, you
can click the Expand button.
l
Wizard Results: Displays a list of the data that replaces the content that matches the
script's selector:
l
Prefix: Static text to use before the set field. For example in Dynamic Image scripts,
the default prefix is images/.
Page 437