2021.2

Table Of Contents
Locale
The Locale Element does not have a UI element in the form. Inserting it adds a hidden input
field that will contain the device's set locale when the form is submitted. This data is sent in
plain text format and is available when processing the form data. The format is defined by the
device.
Repository ID
The Repository ID element retrieves the repository ID (read only) from the app based on the
currently logged on COTG user. You could put the Repository ID in a hidden input, so that
when the form is submitted, the Repository ID is submitted as well. This information can be
used on the server side to take specific actions, such as sending properly branded emails.
Signature
The Signature Element adds a signature box to a COTG form. These signatures are filled in via
touch input, either with a finger or capacitive pen. Touching the signature box opens up a
fullscreen box used to sign (generally more useful in Landscape mode depending on the
device); after confirming, the dialog saves the data into the Form.
Signature data is transmitted in SVG plain text format. This type of data can be stored in a data
field in a Data Mapping and dragged from the Data Model into a template as is. In Preview
mode it will be displayed as an image because the Designer, just like web browsers, knows
how to display this kind of data.
Note
The Signature data returned by the COTG app (as of Android 10.6.0, iOS 10.6.0, and
Windows 6.0) is formatted so that the signature will automatically be scaled to fit in the
containing box in a template. With previous versions of the app, the format of returned
signatures could vary.
Time and Formatted Time
The Time element and the Formatted Time element display the current time on the device
when the form is first opened. When the element is touched, a time selector appears so the user
can modify this time. The Formatted Time element displays times in a format that depends on
the locale of the device on which the user is viewing the form. A Time Element displays dates
in the ISO 8601 format: HH:MM.
Page 714