2021.2

Table Of Contents
l Wrap input with label places the input element inside the Label element.
l Attach label to input ties the label to the input element using the for attribute of
the Label element.
l Use label as placeholder inserts the given label text in the placeholder attribute of
the field.
l No style omits the label altogether.
Note
The first two label styles ensure that when the user clicks the label, the input
element gets the focus.
When you add a Capture OnTheGo (COTG) element to a template that you didn't start with a
COTG template wizard, the Designer will automatically add the necessary JavaScript files: the
jQuery library and the COTG library: cotg-2.1.0.js. (See: "Using the COTG plugin" on
page608.)
If a template contains an earlier version of the COTG library, the newest version will be added
to the resources, but you will be asked which version of the library you prefer to use. Your
preferred library will be included in the section (see: "Includes dialog" on page972).
The Foundation JavaScript files and style sheets will not be added. You only get those
automatically when you start creating a COTG template with a template wizard. (See: "Using
Foundation" on page586.)
Element specific settings
After inserting certain COTG elements, such as the Camera element, some important settings
have to be made. These will appear when you right-click the element and select it from the
short-cut menu.
Alternatively, you can make settings on the Source tab (see "Changing widget settings in
HTML" on the facing page).
The default settings can be changed in JavaScript; see "Changing default settings for widgets"
on page609.
Page 597