labels

Specifies the labels (as an array) displayed in a Check Box, Radio Button, or ComboBox component. This property can be used only within component-level script (see Add Component Script), and the values property must specify an array of the same length.

Type

Array

Example

ComboBox1.labels = ['Region','State','City'];
ComboBox1.values = [1,2,3];

Either syntax below can be used in component script:

labels            // unqualified
ComboBox1.labels  // qualified

For onInit/onRefresh scripts, and for component and property scripts on other components, the second (qualified) form is required.