XForms Controls

For each control there is a short description taken from the XForms 1.1 specification along with a link pointing to the full specification text. Use the 'Quick Reference' link if you want to know which attributes and child elements are allowed for a given control.

CSS Reference

This section lists the CSS classes that are applicable to all controls.

CSS classDescription
xfControlRepresents the XForms control as a whole surrounding label plus the 'active' area of a form control (see below)
xfValueRepresents the "active" area of a form control excluding the label; this corresponds in HTML to input and other form control elements. This pseudo-element is a child of the form control element, and appears immediately after the required label element.
xfEnabledSelects a control that is relevant
xfDisabledSelects a control that is not relevant
xfRequiredSelects a control is required
xfOptionalSelects a control that is optional
xfValidSelects a control is valid
xfInvalidSelects a control is invalid
xfReadOnlySelects a control is readonly
xfReadWriteSelects a control is readwrite
xfReadWriteSelects a control is readwrite
not availableSelects a control bound to a node that contains a value the form control is not capable of rendering
not availableSelects a control bound to a node that contains a value the form control is capable of rendering
not availableSelects a control bound to a node whose content is the empty string
not availableSelects a control bound to a node whose content is not the empty string
xfIncrementalSelects a control that has set an attribute incremental with value 'true'