2018.2

Table Of Contents
Input Dummy Value
widget
Locale
widget
en-US
* Note that the formatted date and time can be different from the values that the COTG app
provides. In the COTG app the formatted date comes from the COTG API, and the formatted
date and time normally depend on the locale/region settings on the mobile device. The ISO
date and time should be the same as when using the COTG app.
Get submitted data via email
Getting submitted data via email requires the Form's action to be set to a test URL that contains
an API Key. You can obtain an API Key as follows.
1. Go to http://learn.objectiflune.com/.
2. Create an account, or log in to your account.
3. Go to your Profile Page, and click the API Key link.
Now, when creating or editing a COTG Form, you can use the API Key in the Form's action:
1. Select the Form (see "Selecting an element" on page550).
2.
On the Attributes pane, paste the following URL in the action field:
http://learn.objectiflune.com/services/cotg-debug?__ol__auth_key={{APIKEY}}.
3. Replace {{APIKEY}} by your API Key.
When you submit the form in the COTG app (see "Previewing a COTG Template in the app" on
page517), the debug service will compose an HTML email that contains the form element
names and the submitted values. Image files, like pictures and signatures, are added to the
email as attachments. The email will be sent to the email address that you provided via your
Learn profile.
For a more detailed description of this test procedure, see this how-to: Testing a COTG
template.
Page 522