Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for multiple="checkbox" #42

Open
houseoftech opened this issue Nov 18, 2013 · 3 comments
Open

Support for multiple="checkbox" #42

houseoftech opened this issue Nov 18, 2013 · 3 comments

Comments

@houseoftech
Copy link

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

.

@jtraulle
Copy link

👍 +1

1 similar comment
@designvoid
Copy link

👍 +1

@steampilot
Copy link

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants