SELECTED function

Syntax

SELECTED(id)

Arguments

id: a reference to a Dropdown element, a set of Radio Buttons or Checkbox element.

Description

returns the index of the currently selected Option of a Dropdown element or a set of Radio Buttons. E.g. if the first option is selected, the number 1 is returned. In case of Checkbox elements, 1 is return for checked, 0 otherwise.

Filed under

Forms

Related Functions

CHECKED FORMATTED LABEL SELECTED