bind

object

Optional

Type: Depends on the UI component. See table below.

Default: unset

A variable or field in which the data that is inputted in a component or selected by the user is stored.

UI components typically require the bound variable or field to be of a specific type. See the reference table below for details.

Refer to the data model field documentation for details about each field type.

UI componentSupported variable/field types

location

attachment

photo

signature

date

datetime

attachment

location

attachment

photo

photo

signature

multiple-choice or multiple-choice-integer

Must be the same type as the component's query. Can be a single object or an array of objects.

Must be the same type as the component's query

Must be the same type as the component's query

text

single-choice, single-choice-integer

single-choice, single-choice-integer, string, number or boolean

text, integer, password or number

boolean

Last updated