check sfGuardUserForm from sfGuardPlugin for example snippet
On Nov 15, 6:43 pm, "Rytis Daugirdas" <[EMAIL PROTECTED]>
wrote:
> Hello,
>
> I've noticed that my password sfValidatorSchemaCompare validator that is set
> as the post validator is run even if the passwords it compares do not pass
> the regular validation.
>
> For example, I place a restriction of 8 character minimum length on the
> password field. Even if the password entered was shorter, the postValidator
> is still fired and appends its own error. I think this is not the expected
> behavior. IMO, the postValidators should fire only if the fields already
> pass their regular validation rules.
>
> Maybe I am missing something and it's possible to configure the
> sfValidatorSchemaCompare validator to only validate VALID fields?
>
> --
> Regards,
> Rytis
--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---