You need to set the $displayField property inside your `Aliquot` model to whatever field you want for the label.
On Jan 15, 4:47 pm, Tony Thomas <truet...@gmail.com> wrote: > I'm building a list of checkboxes like so: > > echo $form->input('Aliquot.id', array( 'label' => FALSE, > > 'type' => 'select', > > 'multiple' => 'checkbox', > > 'options' => $aliquots)); > echo $form->input('box_id', array('options' => $boxes)); > > $aliquots above is built from $this->Aliquot->find('list', $options); > which finds all the ids of the pertinent records. The problem I have > this this only generates a list of ids. Is there good way to load an > array for 'label' so that I can display more than just the list of ids? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---