Get Field
To retrieve the current value of a form field.
Parameter
Parameters | type | description |
---|---|---|
fieldId | String | Unique Id of the field. |
Syntax
or
Returns
Returns the value of the field, and the data type varies based on the field type.
Example
To obtain the value of the rating field from your employee data form, use the field ID of the ratings field, ratingField, and retrieve the value.
In this example, the data type of the returned value would be integer.