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

2010-04-12 Thread Alan Bem
Can you put somewhere code of those classes? Alan On Mon, Apr 12, 2010 at 5:00 AM, godbout guillaume.lecler...@gmail.comwrote: Hi Alan, Obviously I wasn't really awake that day... The form is SubscriberForm (not NewsletterForm) and it extends BaseSubscriberForm. I had to copy/paste the

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

2010-04-12 Thread godbout
Sure. // BaseSubscriberForm.class.php -- abstract class BaseSubscriberForm extends BaseFormDoctrine { public function setup() { $this-setWidgets(array( 'id' = new sfWidgetFormInputHidden(), 'email' = new sfWidgetFormInputText(),

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

2010-04-11 Thread godbout
Hi Alan, Obviously I wasn't really awake that day... The form is SubscriberForm (not NewsletterForm) and it extends BaseSubscriberForm. I had to copy/paste the code from BaseSubscriberForm to SubscriberForm to make it work. On Apr 11, 8:37 pm, Alan Bem alan@gmail.com wrote: Aren't you