Hi there,
I have a big problem with sfForm... I've looked for many similar
problems, but no solutions.
In my form class, I have this:
   ...
  $this->widgetSchema['magazines'] = new sfWidgetFormChoiceMany(array
('choices' => $magazines, 'expanded' => true));
  $this->validatorSchema['magazines'] = new sfValidatorChoiceMany(array
('choices' => array_keys($magazines)));
  $this->getWidget('familia_magazines')->setDefault($defaults);
  ...

The problem now is HOW CAN I REPOPULATE THE FORM? Because the
"setDefault" method is not working...

I hope someone could help me,
Thanks!

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to