2021.1

Table Of Contents
Since you cannot predict what type of browser will be used, you should make sure your scripts
are compatible with a wide range of browser types and versions.
JavaScript resources included in a Print section are executed on the Preview tab. (The editor
for a Print section does not have a Live tab.)
Note
The internal 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
page564.)
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.
l Thanks to the mobile app, it may be used offline. The app will submit the Form data when
a connection to the internet is available. Just make sure, if the Form uses remotely stored
Page 562