dev-master
9999999-devCheckbox Field plugin for Craft CMS
The Requires
- composer/installers ~1.0
- php >=5.3.0
v1.0.1
1.0.1.0Checkbox Field plugin for Craft CMS
The Requires
- composer/installers ~1.0
- php >=5.3.0
Checkbox Field plugin for Craft CMS
, (*1)
This plugin provides a field type that looks exactly like Craft's default [Checkboxes field][1], but stores a boolean value to the database (similar to the Lightswitch field), so you can use a custom field parameter in your ElementCriteriaModel., (*2)
To install the plugin, copy the checkboxfield/ folder into craft/plugins/. Then go to Settings → Plugins and click the "Install" button next to "Checkbox Field"., (*3)
Custom field parameter usage:, (*4)
{% set entries = craft.entries.myCheckbox(1).myOtherCheckbox(0) %}
Uncheck "Show field name and instructions" to hide the field's name and it's instructions. This also removes the top margin, to make multiple Checkbox fields look like Craft's default Checkboxes field with multiple options., (*5)
Checkbox Field plugin for Craft CMS
Checkbox Field plugin for Craft CMS