2018.1

Table Of Contents
Note
When a COTG Form is submitted, by clicking or touching the Submit button, the
name and value of form elements are submitted. If a Checkbox or Radio Button is
not checked, its name and value are not sent when the form is submitted.
Fortunately, there is a workaround for this; see "Using COTG Elements" on
page487.
The Form's validation should ensure that the data that the user submits is valid (see
"Changing a Form's validation method" on page593 and "How to make COTG
elements required" on page489).
2.
Create a Data Mapping Configuration
Use the resulting XML file to create a Data Mapping Configuration (see "Data mapping
configurations" on page151).
1.
Choose File > New > Data mapping Wizards > From XML file.
2.
Select the XML data file as its source and click Next.
3.
Set the XML Elements option to /request/values. This will automatically add an
extraction step for the submitted form fields.
4.
Click Finish. The file is opened in the DataMapper and the form fields are
automatically extracted including the data for the signature and camera object.
5. Save the Data Mapping Configuration.
3.
Create a template
Create a Designer template and personalize it using the Data Mapping Configuration
(see "Personalizing Content" on page656). Strings, base64-encoded strings and SVG
data, stored in data fields using the DataMapper can be added to the template just like
any other variable data; see "Variable Data" on page669. They will show up in the
template as they are.
Strings and base64-encoded strings show up as strings.
SVG data will be interpreted and displayed as an image.
Note
The Signature data returned by the COTG app (as of Android 10.6.0, iOS 10.6.0,
Page 468