CSS
Hover the classes to see matching element(s) in the example
xfInput matches an Element that represents a XForms input element
xsdBoolean matches an Element that is bound to a node with datatype boolean
xfControl matches an Element that represents a XForms control
xfLabel matches the label part of an XForms control
xfValue matches the widget part of an XForms control
xfReadOnly matches a xforms control that is currently readonly
xfReadWrite matches a xforms control that is currently writable
xfRequired matches a xforms control that is currently required
xfOptional matches a xforms control that is currently optional
xfEnabled matches a xforms control that is currently relevant (enabled)
xfDisabled matches a xforms control that is currently disabled (can't be visualized here as the control gets hidden)
xfValid matches a xforms control that is currently valid
xfInvalid matches a xforms control that is currently invalid

# Checkbox input control

This form control enables free-form data entry or a user interface component appropriate to the datatype of the bound node.

An input which binds to a Node of type 'boolean' is rendered as a Checkbox.

| XForms 1.1 Links
Recommendation
Quick Reference

## Example

a checkbox a Hint for this control help for input1 invalid
CurrentValue:
readonly required relevant valid switch

## XForms Markup

    <xf:bind nodeset="input1">
                            <xf:bind nodeset="value" constraint="boolean-from-string(../@constraint)" readonly="boolean-from-string(../@readonly)" required="boolean-from-string(../@required)" relevant="boolean-from-string(../@relevant)" type="xf:boolean"></xf:bind>
                            <xf:bind nodeset="@constraint" type="boolean"></xf:bind>
                            <xf:bind nodeset="@readonly" type="boolean"></xf:bind>
                            <xf:bind nodeset="@required" type="boolean"></xf:bind>
                            <xf:bind nodeset="@relevant" type="boolean"></xf:bind>
                        </xf:bind>

    <xf:input id="input1" ref="input1/value" incremental="true">
        <xf:label>a checkbox</xf:label>
        <xf:hint>a Hint for this control</xf:hint>
        <xf:help>help for input1</xf:help>
        <xf:alert>invalid</xf:alert>
    </xf:input>