Hi, I want to use sfWidgetFormChoice with "multiple" => true parameter. Here is my code:
'leavewhenempty' => new sfWidgetFormChoice( array('multiple' => true, 'expanded' => true, 'choices' => Doctrine_Core::getTable('FilaDeAtendimento')- >getOptionsLeaveWhenEmpty()) ), 'leavewhenempty' => new sfValidatorChoice( array('multiple' => true, 'choices' => array_keys( Doctrine_Core::getTable('FilaDeAtendimento')- >getOptionsLeaveWhenEmpty() ), 'required' => false) ), but, when I save this form,on my database, is saved the string "Array". I need save the values of checkbox checked, and, when I want edit this register, the checkbox comes checked with the values stored on my database. How solve this? thank's all. -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en