clearItems

Removes all the items from the field. For example, it removes all the items contained within a drop-down list or a list box.

Syntax

Reference_Syntax.clearItems()

Parameters

None

Returns

Empty

Applies to

Model

Object

Form Model

field

Version

XFA 2.1

Examples

JavaScript

DropDownList1.clearItems();

FormCalc

DropDownList1.clearItems()

// Ethnio survey code removed