Thanks!, i would swear i tried it.. On Aug 26, 12:53 am, Michał Piotrowski <mkkp...@gmail.com> wrote: > 2010/8/24 Javier Garcia <tirengar...@gmail.com>: > > > Sorry, could you paste the entire validator? I dont understand.. > > $this->validatorSchema['email_address'] = new sfValidatorAnd(array( > new sfValidatorEmail(array('max_length' => 255), array('invalid' > => 'Poprawny adres ma postaæ np. przyk...@przyklad.pl', 'max_length' > => 'Tekst w tym polu mo¿e mieæ maksymaln± d³ugo¶æ 255 znaków.')), > new sfValidatorDoctrineUnique(array('model' => 'sfGuardUser', > 'column' => 'email_address'), array('invalid' => 'Podany adres jest > ju¿ przez kogo¶ u¿ywany.')) > ), array('required' => true), array('required' => 'Pole wymagane.')); > > The last two arrays are required to change default message. > > BTW. You can check such things in the code > documentationhttp://www.symfony-project.org/api/1_4/sfValidatorAndhttp://trac.symfony-project.org/browser/branches/1.4/lib/validator/sf... > I had the same problem - I just looked to the docs and everything become > clear. > > Regards, > Michal
-- 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