setItemState

Sets the selection state of the specified item.

Syntax

Reference_Syntax.setItemState( INTEGER param1, BOOL param2 )

Version

2.8

Parameters

param1

A valid integer representing the zero-based index into the item.

param2

  • true | 1 (JavaScript) or 1 (FormCalc)

  • Adds this item to the current selection.

  • false | 0 (JavaScript) or 0 (FormCalc)

  • Removes this item from the current selection.

Returns

None

Applies to

Model

Object

Form Model

field

Version

XFA 2.5

// Ethnio survey code removed