2022.1

Table Of Contents
Events
The Document ID element listens for the following event.
Event Description
clear.cotg
Removes the Document ID.
The Document ID element broadcasts the following event.
Event Description
set.cotg This event is fired during initialization of the element, after setting its value to
the current Document ID.
Fields Table
The Fields Table element itself is just a table, so it doesn't have to be initialized. However, after
dynamically adding it to a Form, you still have to add the correct event handlers to the Add and
Delete buttons, as follows (replace myTable by the ID of your table):
$("#myTable [role=cotg-add-row-button]").on("click", function(){
$(this).closest('table').cotgAddRow(true);
});
$("myTable").on("click", "[role=cotg-delete-row-button]", function
(){
$(this).closest('tr').cotgDeleteRow();
});
Note that nested tables are not supported.
Geolocation
cotgGeolocation([options])
options
Optional. An array containing the desired settings, e.g. {enableHighAccuracy: true, timeout:
3000}. For any unspecified options the default settings will be used.
Page 658