1.4

l
JavaScript : The result of the JavaScript Expression written below the drop-down
will be the value of the extracted field. If the expression contains multiple lines, the
last value attribution (variable = "value";) will be the value. See JavaScript API.
l
Expression: The JavaScript expression to run.
l
Use JavaScript Editor: Click to display the Edit Script dialog.
Note
Running a JavaScript expression offers many possibilities, for example:
l Setting Properties and Record Field values using advanced
expressions
l Do complex mathematical operations and calculations
l More features to come in future versions. For more information,
see the JavaScript in DataMapper section.
l
Use selected text: Inserts the text in the current data selection in the
JavaScript Expression. If multiple lines or elements are selected, only the first
one is used.
l
Use selection: Click to use the value of the current data selection for the
extraction.
Note
If the selection contains multiple lines, only the first line is selected.
l
Data Format
The data format defines the precise format for some of the variable types, such as dates
and currencies.
l Boolean
l String
l HTML String
Page 146