$this->validatorSchema->setPostValidator(new sfValidatorPass());
Fabien
--
Fabien Potencier
Sensio CEO - symfony lead developer
sensiolabs.com | symfony-project.com | aide-de-camp.org
Tél: +33 1 40 99 80 80
Tom Haskins-Vaughan wrote:
> Anyone? :D
>
> Tom Haskins-Vaughan wrote:
>> Symfony 1.1
>>
>> I'm wondering if it's possbile to remove/unset a propelunique validator
>> that is set in my base article form:
>>
>> $this->validatorSchema->setPostValidator(
>> new sfValidatorPropelUnique(array('model' => 'tsmSbpArticle',
>> 'column' => array('stripped_title')));
>>
>> I am intending to set the stripped_title/slug in the save() method and
>> so I don't need it to pass validation. I could modify my model, but I'd
>> prefer not to.
>>
>> Any suggestions welcome.
>>
>> Thanks.
>>
>> Tom
>>
>>
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---