I'm interested too.

2011/5/13 elcabong <elcabong....@gmail.com>

> Fellows,
>
> I see DefaultValidator:
>
> namespace Symfony\Component\Form\Extension\Core\Validator;
>
> use Symfony\Component\Form\FormInterface;
> use Symfony\Component\Form\FormValidatorInterface;
> use Symfony\Component\Form\FormError;
>
> class DefaultValidator implements FormValidatorInterface
> {
>    public function validate(FormInterface $form)
>    {
>        if (!$form->isSynchronized()) {
>            $form->addError(new FormError('The value is invalid'));
>        }
>
> .....
>
>
> This generic message return "The value is invalid", when don't match
> repeatedForm.
>
> How custom this message?? Do I use especific constraits in
> validation.xml ?? Which?
>
> Please, Help me!!! :)
>
> Tanks
>
>
>
> On 11 maio, 09:27, elcabong <elcabong....@gmail.com> wrote:
> > Symfony2 Beta1
> >
> > When I geterrorit's returned "The value is invalid".
> >
> > I woukd like tochangemessageto "Password don't match!"
> >
> > Howchangeerrormessageinrepeatedform?
>
> --
> 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
>

-- 
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

Reply via email to