Gets the values submitted for a field.
This function can be used on repeating and non-repeating pages.
Executed
Client-side and server-side.
Arguments
Argument | Type | Description |
---|---|---|
fieldName | String, required | The name of the field to return data for |
Returns
The structure of the data will depend on the number of instances found.
Single Instance
Whether a single instance of a repeating page, or a non-repeating page, the value of a single field will be returned as a string.
"Tim"
Multiple Instances
Where the field exists on multiple instances of a repeating page, the values are returned as an array of strings.
[ "Tim", "Leo" ]
Last modified on September 13, 2023