Associates an identifier with a control so that the control's properties can be referenced in data-binding queries, reports, and workflow scripts.
Copyright © 2016 Mobilengine Corp. All rights reserved. version: 7.0.4.19927
Associates an identifier with a control so that the control's properties can be referenced in data-binding queries, reports, and workflow scripts.
Remarks
Must begin with a letter or an underscore.
The id
field is optional, but a control without an identifier
cannot be referenced elsewhere in the solution, and its values are not submitted to the server
when the user submits the containing form.
An id
must be unique within its scope. Each control that has an
id
field declared defines a new scope: the descendants of a control with an
id
are within its nested scope. See the section on scoping
for further details.
Sample
The
textview
control references the input in the textbox
control above it
A workflow script running in the Mobilengine Cloud would access the submission of the webform above in the format below:
{... boxBar: {text: "My hovercraft is full of eels"}, ...}
See the workflow script reference guide for more details on data type mapping.