cakephp-plugin-boost_cake icon indicating copy to clipboard operation
cakephp-plugin-boost_cake copied to clipboard

Support for multiple="checkbox"

Open houseoftech opened this issue 10 years ago • 3 comments

When using Form::input() option of multiple="checkbox" each label input pair needs to be wrapped in a

.

houseoftech avatar Nov 18 '13 18:11 houseoftech

:+1: +1

jtraulle avatar Nov 23 '13 13:11 jtraulle

:+1: +1

designvoid avatar Mar 14 '14 12:03 designvoid

Could really use some help and clarification. I am working with CakePHP 2.x and an Older version of Boostcake: https://github.com/slywalker/TwitterBootstrap. But when i also read the Documentation of Boostcake i am confused. Triying to generate select inputs with multiple nested checkboxed options.

echo $this->Form->input('Name', array( 'label' => __('Select up to four names')), 'type' => 'select', 'class' => 'select checkbox-inline', 'options' => array ( 1 => "Jeb", 2 => "Bill", 3 => "Bob", 4 => "Valentina", 1 => "Kerman", ) ) );

Shouldn't it produce something like this? multipleselectcheckboxes

instead i get this: selectmultiplecheckboxesresult

Thanks for your help!

steampilot avatar May 25 '16 10:05 steampilot