checkgroup.formwidget

In XUL, no element named <checkgroup exists (and it wouldn't be usefull). With formwidgets, <checkgroup is an element that extends xul:box. A <checkgroup class="formwidget" is very much like a radiogroup. It should only contain checkboxes, as direct children. These checkboxes may have a value attribute. The checkgroup holds the name, the checkboxes hold the labels and value. If a checkbox has no value, it's label is used as value.

When seeding, if the name of the checkgroup matches the name of a seed, it will look for checkboxes with the same value as the seed. If one is found, it is checked. If none are found, a checkbox with the seeds label and value is appended and checked.

Example:

<checkgroup name="thenumbers" class="formwidget"> <checkbox label="1" value="one" checked="true" /> <checkbox label="2" value="two" checked="false" /> <checkbox label="3" value="tri" checked="true" /> </checkgroup>

Additional Attributes:


Additional Methods: