Hi all, I was browsing the internet but I can`t find the answer for my problem anywhere. A have my form:
$widget->setLabel('Odbiorcy'); $this->setWidget('receivers', $widget); $validator = new sfValidatorChoice(array('choices'=>array_keys($choices),'multiple' => true), array()); $this->setValidator('receivers', $validator); $choices is an associative table. Form is rendering very nice but when i am trying to send the form i am receiving the following error: Catchable fatal error: Object of class sfValidatorChoice could not be converted to string in ... on line 34 Thx in advance for any suggestions and sorry for my English because i`ts not my native language. And hi everybody because it is my first post here :) -- 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