2019.2

Table Of Contents
<input type="hidden" name="status_1" value="0" />
<input type="checkbox" id="status_1" name="status_1" value="1" />
When multiple fields with the same name are encountered, the previous value is overwritten.
This way the values for unchecked checkboxes and radio buttons can be processed easily.
Tip
The Capture OnTheGo (COTG) plugin automatically adds a hidden field for every
unchecked checkbox on a Form when the Form is submitted. It does this for every Form;
the template doesn't have to be a COTG template. (See: "Using the COTG plugin: cotg-
2.0.0.js" on page605.)
Using JavaScript
JavaScript files, libraries and frameworks can be added to a template, primarily for use in Web
pages and Capture OnTheGo Forms.
Which kind of library or framework you'll want to work with depends on the type of features you
really desire. For a bit of help with that and a few examples, see this how-to: Using external
libraries.
Some JavaScript files are added automatically: When you create a template with a COTG
Template Wizard (see "Capture OnTheGo template wizards" on page579), the Designer
automatically adds the jQuery library and the COTG library: cotg-2.0.0.js. This also happens
when you add a Capture OnTheGo (COTG) element to a template that you didn't start with a
COTG template wizard. For more information about this plugin, see "Using the COTG plugin:
cotg-2.0.0.js" on page605.Capture OnTheGo and Jumbotron template wizards automatically
add the Foundation files v. 5.5.1 to the resources of the template. For more information about
the use of Foundation in the Designer, see "Using Foundation" on page583.
Tip
It is possible to open and edit any JavaScript file in the Designer: select File > Open,
select All files (*.*) as the file type and then select a JavaScript file.
Page 564