[symfony-users] Re: custom rendering of sfWidgetFormDoctrineChoice?

2010-04-22 Thread axel at
I used the following solution: first I extended sfWidgetFormSelectCheckbox overwriting the formatter function class myWidgetFormSelectCheckboxTable extends sfWidgetFormSelectCheckbox { public function formatter($widget, $inputs) { $rows = array(); $itemsPerRow =

[symfony-users] Re: custom rendering of sfWidgetFormDoctrineChoice?

2010-03-16 Thread Tom Ptacnik
Maybe this.. sfWidgetFormSchemaDecorator http://www.symfony-project.org/forms/1_4/en/A-Widgets On 11 bře, 12:02, axel at axel.zu...@gmail.com wrote: hello, the render method of new sfWidgetFormDoctrineChoice(array(                                         'multiple' = true,