If you're using a regular select, the value you pass to setValue should be a single value (not an array).
If you're using MultiSelect, then you need to pass in an array of values. -- Hector On Tue, Oct 27, 2009 at 8:41 AM, ajitk15 <[email protected]> wrote: > > even i tried with Zend_Form_Element_Multiselect also > still the same issue. > > > > drm-4 wrote: > > > > ajitk15 wrote: > >> $groups = new Zend_Form_Element_Select('group'); > >> > >> $groups ->setLabel('Groups:') > >> > ->setAttrib('multiple','multiple') > >> > > > > Hi, you should use Zend_Form_Element_Multiselect for this. > > > > > > -- > View this message in context: > http://www.nabble.com/Multiselect-selected-values-tp22125736p26079939.html > Sent from the Zend Framework mailing list archive at Nabble.com. > >
