2019.2

Table Of Contents
for(var i in record.fields){
results.after("<p>" + record.fields[i] + "</p>");
}
Selector Matched element Matched element after script execution
#test <h1 id="test">Fields</h1> <h1 id="test">Fields</h1>
<p>Peter</p>
<p>Parker</p>
<p>pparker@localhost.com</p>
formatter
The formatter is a global object that allows you to format values in a script.
The Text Script Wizard also allows you to format variable data; see "Using the Text Script
Wizard" on page342 and "Formatting variable data" on page346.
Note
The TextFormatter object is now deprecated and will eventually be removed.
Functions
Function Description
l currency()
l currencyNoSymbol
()
l grouped()
l integer()
l integerUngrouped
()
l number()
l numberUngrouped
()
The currency(), grouped(), integer() and number() functions
allow you to format a number, possibly with a custom pattern.
See "Number functions" on page861.
Page 846