Value[]

Characteristic Description

Icon


Folder icon

Availability

All items with multi-select codelists.

Return type

  • If an integer type—Int[].
  • If a float type—Double[].
  • If a text type—String[].

Description

Returns an array of values for the item.

Purpose

Use this property to process all of the boxes that are selected in a checkbox group. To use a single checkbox item, use Selected[].

For example, if you have a codelist with checkboxes and want to make sure that no more than three checkboxes are selected, use this property to return an array of the selected checkboxes, and use the Length property of the array to determine the number of selected checkboxes.

value = this.itmConcomMeds.Value.Length
when value > 3
  issue query on this.itmConcomMeds:
  Subject should not be on more than three
  concomitant meds at time of enrollment