Table of Contents
Checkbox
A Checkbox is a widget, which is able to display a boolean value (yes/no, true/false).
Attributes
| Name | Allowed Values | Description |
|---|---|---|
| width | Length- or Percentage | Sets the width of a widget |
| css | CSS Class Name | Sets a new style |
| tooltip | Text | Sets a tooltip text |
| id | Text | Sets the unique ID of the widget |
| action | Method Name | Left mouse click |
Options
| Name | Allowed Values | Description |
|---|---|---|
| visible | Bool | Widget visible/invisible |
| enabled | Bool | Widget enabled/disabled |
Example
XML
<checkbox id="checkbox">Checkbox</checkbox>
PHP
$result->setData('checkbox', true);
Result
Links
You could leave a comment if you were logged in.
