Re: [symfony-users] sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-11 Thread Alan Bem
Aren't you talking about two different Forms? It seems that first post-validator comes from (Base)SubscriberForm, but you complaint about NewsletterForm. Is there inheritance relationship beetween them? Cheers On Sat, Apr 10, 2010 at 5:05 PM, godbout wrote: > Hi there! > > I have a very simple t

[symfony-users] sfValidatorDoctrineUnique doesn't work when only defined in BaseForm?

2010-04-10 Thread godbout
Hi there! I have a very simple thing to do: allowing visitors to register their email for a newsletter. The email field is defined as unique in the db, and Doctrine created me the BaseForm with the following code:... [code]$this->validatorSchema->setPostValidator( new sfValidatorDoctrineUni