Hi!
I define ListboxField as multiple field . My problem is to show value selected. I define an array ($source) to show list of element in ListboxField, and an array ($value) to show selected value after save. What is wrong?
This is my code:
$fields->addFieldToTab("Root.Content.Main", new ListboxField('collezioni','Collezioni',$source, $value, $size=5, $multiple=true,$form=null),'Content');
$value = array(
'a' => 'A',
'd' => 'D',
);
$source = array(
'a' => 'A',
'b' => 'B',
'c' => 'C',
'd' => 'D',
);