[symfony-users] Re: Forms and Entity Annotation Validation...

2011-04-12 Thread spike3111
In your code you use @validation, but now it's @assert Example from http://symfony.com/doc/2.0/book/validation.html // Acme/BlogBundle/Author.php class Author { /** * @assert:Choice({"male", "female"}) */ protected $gender; } On 12 avr, 12:45, kassel wrote: > Hi, as i undertood

[symfony-users] Re: Forms and Entity Annotation Validation...

2011-04-12 Thread kassel
Hi, as i undertood i've got the same problem, the annotations dont wark, and even email work. Any idea Thanks On 18 mar, 00:02, j_stout wrote: > Basically I just got a small understanding on a service, but still no > clue how they pertain to forms.  Also there is no documentation on > adding val

[symfony-users] Re: Forms and Entity Annotation Validation...

2011-03-17 Thread j_stout
Basically I just got a small understanding on a service, but still no clue how they pertain to forms. Also there is no documentation on adding validation groups via Entity Annotations, so hopefully all these things get solved one day. So if someone can guide me on how to do validation inside the