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()

Legal Notices | Online Privacy Policy


Content from Scripting Reference (10).

Other versions:

// Ethnio survey code removed