Script: Class dw.web.FormListItem

Class FormListItem

Represents an item in a form list.

Properties

itemIndex : Number Read Only

The index of this item with the list.

Constructor Summary

This class does not have a constructor, so you cannot create it directly.

Method Summary

getItemIndex() : Number

Returns the index of this item with the list.

Methods inherited from class FormGroup

accept, copyFrom, copyTo, getChildCount, getError, getObject, getSubmittedAction, getTriggeredAction

Methods inherited from class FormElement

clearFormElement, getDynamicHtmlName, getFormId, getHtmlName, getParent, getValidationResult, invalidateFormElement, invalidateFormElement, isValid

Methods inherited from class Object

assign, create, create, defineProperties, defineProperty, entries, freeze, fromEntries, getOwnPropertyDescriptor, getOwnPropertyNames, getOwnPropertySymbols, getPrototypeOf, hasOwnProperty, is, isExtensible, isFrozen, isPrototypeOf, isSealed, keys, preventExtensions, propertyIsEnumerable, seal, setPrototypeOf, toLocaleString, toString, valueOf, values

Method Detail

getItemIndex

getItemIndex() : Number

Returns the index of this item with the list.

Returns:

the index of this item with the list.