2022.1

Table Of Contents
Field Description
$(“#signature).trigger(set.cotg, “<svg></svg>);
The Signature element broadcasts the following events.
Field Description
set.cotg
This event is fired after a user has entered a signature and clicked the
Done button of the Signature window on the device.
clear.cotg Fired after a user has clicked the Done button of the Signature window
without entering a signature.
draw.cotg
Fired each time the signature is drawn on the form (by the app, not by the
user; e.g. after a set.cotg or restore-state.cotg event).
Time and Formatted Time
cotgTimePicker()
Initializing a new (Formatted) Time element prepares it for user interaction.
Example: $('#myTimePicker').cotgTimePicker();
Note that the difference between a Time and a Formatted Time is laid down in the HTML
structure of the element.
Events
The Time and Formatted Time elements listen for the following custom events.
Event Description
set.cotg
Stores the given time (specified in a Date object).
clear.cotg Removes the set time.
Page 663