On Sun, Oct 3, 2010 at 8:00 AM, thomaus <[email protected]> wrote: > Hi Jack, > > Thanks for your answer. > > Ok then, but how do you set a class for the inputs? > > If I do this : > > <?php echo $form->input('Group', > array( > 'label' => 'Group', > 'type' => 'select', > 'multiple' => 'checkbox', > 'options' => array(1 => 'Pilot', 2 => 'Medical', 3 => > 'Other'), > 'class' => 11) > ); > ?> > > this doesn't change anything at all, I mean my checkboxes they are not > assigned "11" as a class. > > Cheers!
Magic, I would guess. Likely just another thing CakePHP doesn't do. I would suggest wrapping them in a special div, giving that div a class, and then using that as a way to single them out. May not be what you're aiming for, but it'll get them job done. -- Jack Timmons @_Codeacula Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
