Joomla checkboxes Form Field Type

The checkboxes form field type provides a set of checkboxes. This field creates multiple checkboxes, and submits their values in form of an array, however it will not store them in the database.

XML Field Definition

<field name="toppings" type="checkboxes">
<option value="anch">Anchovies</option>
<option value="chor">Chorizo</option>
<option value="on">Onions</option>
<option value="mush">Mushrooms</option>
</field>

Additional Parameters

checkedOptions: This is a comma separated list of checked checkboxes value.

forceMultiple: If set to true, the user must check or select more than one checkboxes.