Thanks,

It was in the sfValidatorDoctrineChoice validator.

 *  * min:        The minimum number of values that need to be
selected (this option is only active if multiple is true)

Nei


On 26 maio, 15:43, Tugdual SAUNIER <tugdual.saun...@iloweb.com> wrote:
> try in the associated validator, it should be there.
>
> ---
> Tugdual
>
> 2010/5/26 Nei Rauni Santos <nra...@gmail.com>
>
> > 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 it?
>
> > Thanks,
>
> > Nei
>
> > --
>
> > /*
> > Nei Rauni Santos
>
> >http://www.facebook.com/nei.santos
> >http://www.twitter.com/nrauni
> >http://blog.inuar.com
>
> > Curitiba - Paraná
> > Mobile: +55 41 85020985
> > */
>
> > --
> > 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<symfony-users%2bunsubscr...@googlegroups.com>
> > For more options, visit this group at
> >http://groups.google.com/group/symfony-users?hl=en

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

Reply via email to