1.6

Table Of Contents
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
Here are the options visible in Script wizards:
l
Name: The name of the script, making it easier to identify it.
l
Find: 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
Wizard Results: Displays a list of the data that is sent to replace 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/.
l
Field: A drop-down to select which field contents to use in the script. The field
should contain a valid value. For an email script, for example, the field would have
to contain an email address. Note that you can't select a field that belongs to a detail
table.
l
Format: A special formatting modifier applied to the Field; see "Formatting variable
data" on page516.
l
Suffix: Static text to use after the set field. For Dynamic Image Scripts, the default
suffix is .jpgand refers to the file extension.
l
[+]: Adds a new line to the Wizard Results. Note that by default there is no line return
between fields in the list. Adding <br> in the Suffix or Prefix field can establish a line
return.
l
[-]: Removes the currently selected line in the Wizard Results list.
l
Arrow Up: Moves the currently selected line up one position.
l
Arrow Down: Moves the currently selected line down one position.
l
Options (only available in the Text Script wizard and the Dynamic Image wizard):
specifies where and how the script inserts its results:
l
As HTML. HTML elements in the results are processed and displayed as HTML
elements. For instance, <b>this is bold</b> will be displayed as this is
Page 606