Re: [symfony-users] How can I use the sfWidgetFormDoctrineChoice widget as required true

2010-05-26 Thread Tugdual SAUNIER
try in the associated validator, it should be there. --- Tugdual 2010/5/26 Nei Rauni Santos > This is my code: > > $widgets['review_audiences_list'] = new > sfWidgetFormDoctrineChoice(array('multiple' => true, > 'expanded' => true, 'model' => 'ReviewAudience', 'order_by' => > array('weight',

[symfony-users] How can I use the sfWidgetFormDoctrineChoice widget as required true

2010-05-26 Thread Nei Rauni Santos
This is my code: $widgets['review_audiences_list'] = new sfWidgetFormDoctrineChoice(array('multiple' => true, 'expanded' => true, 'model' => 'ReviewAudience', 'order_by' => array('weight', 'asc') )); I need to make this field required, but don't have the option required.. There is any way to do