Try this instead:

<?php echo $form->input('SurveyCategory.'.$index.'.department_list',
array('options' => $department_list, 'selected' => array(232, 233),
'multiple' => true, 'class' => 'input_selection group_selection')); ?>

I wouldn't use short tag (<?=) as it will become depreciated in later
versions of PHP.

Also I wouldn't use $form->select, input should do the trick better, just
pass $department_list as the value for the key options.

The rest should be fine? I did notice some duplicate arrays .

HTH

-- 
Kind Regards
 Stephen

 http://www.ninjacodermonkey.co.uk

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to