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

Version

XFA 2.1

Examples

JavaScript

DropDownList1.clearItems();

FormCalc

DropDownList1.clearItems()

// Ethnio survey code removed