2018.2

Table Of Contents
appropriate, however: changing the DOM may change the page flow and doing so at this point
may result in bad output and/or serious errors or a crash of the software.
Previewing a template with JavaScript resources
A template with JavaScript resources can be viewed on the Preview tab, just like all other
templates. A Web section can also be viewed on the Live tab.
Note
Scripts in the Resources pane are interpreted by an internal browser. The browser engine which is
used as of version 2018.2, Gecko 38, is compliant with the ECMAScript 5 language specification.
This means that scripts using features described in ECMAScript 2015 (aka ES6) - such as the
keyword let - will fail in the Preview and Live tab of the Designer. Nevertheless, they should
work fine when processed by a (modern) client browser. (See for example the browser
compatibility table at the bottom of the Mozilla documentation for "let": Mozilla documentation.)
Capture OnTheGo
With the Designer you can create Capture OnTheGo templates. COTG templates are used to
generate forms for the Capture OnTheGo mobile application. For more information about the
application refer to these websites: Capture OnTheGo and Capture OnTheGo in the Resource
Center.
COTG Forms
A Capture OnTheGo Form is actually just a Web Form that has a number of characteristic
features:
l
Its action always specifies a Workflow HTTP Server Input task, so that when the Form is
submitted, the form data is sent to the Workflow server. (See: "Specifying an action" on
the facing page.)
l
It may contain special COTG Input elements, like a Signature, Geolocation, or Camera
element. These require the COTG JavaScript library to be added to the template. This
happens automatically when the Form is created with a COTG Template Wizard.
Page 487