So I have this form that, in part, looks like so:
$slocPairs = SlocsTable::getSlocPairs();
$sloc_id = new Zend_Form_Element_Multiselect('sloc_id[]');
$sloc_id->setLabel('SLOC(s)')
->setMultiOptions($slocPairs)
->setAttrib( 'size', 8);and I want the correct MultiOptions to be selected when I edit the database record. Do I build an array called $sloc_id from my tables? If so, what would that array look like?
-- Tim :wq
