multicheck
Everett Griffiths edited this page May 20, 2014
·
2 revisions
The multicheck field is functionally equivalent to the multiselect field, but using multiple checkboxes offers an alternate user interface for the element.
Syntax: multicheck($name,$options=array(),$values=array(),$args=array(),$tpl=null)
Note that the default formatting template (tpl) for multicheck fields defines an array input: name="[+name+][]"
so you do not need to include "[]" as part of your $name argument.
See the multiselect field for examples.
© 2014 and beyond by Craftsman Coding