Get Form Element Value Activity
Description
Gets the underlying value of the specified form element.
Usage
You could use this activity to get the numerical value of a Date Time Picker, without needing to refer to "value.value" in an expression.
Inputs
Element |
Optional The form element, specified as an expression or ID. For example, To target the form element that the subworkflow belongs to, leave Element blank. |
Outputs
value |
||
Type: Object The underlying value of the form element. The columns below show the equivalent expression for each type of element. |
||
Element Type |
Equivalent Expression |
Example |
Auto Complete
|
element.value.data (when element.value is a DataRef object) |
|
element.value (otherwise) |
|
|
Check Group |
element.value.items |
|
Date Picker |
element.value.value |
|
Date Range Picker |
[element.value.startDate, element.value.endDate] |
|
Date Time Picker |
element.value.value |
|
Drop Down List |
element.value.data (when element.value is a DataRef object) |
|
element.value (otherwise) |
|
|
File Picker |
element.value.files |
|
Geometry Picker |
element.value.geometry |
|
Item Picker |
element.value.items |
|
List Box |
element.value.items |
|
Number |
element.value.numeric |
|
Number Range Slider |
element.value |
|
Number Slider |
element.value.numeric |
|
Password Box |
element.value |
|
Radio Group |
element.value.data (when element.value is a DataRef object) |
|
element.value (otherwise) |
|
|
Scanner |
element.value.value |
|
Text Area |
element.value |
|
Text Box |
element.value |
|
Time Picker |
element.value.value |
|
For elements not listed above, the equivalent expression is "element.value". This will be |
Properties
For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.
Connectivity Requirements
This activity works when the device has intermittent connectivity to the network.
Version Information
Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.
See also...