Hi,

I used sfValidatorSchemaCompare to validate re-type field (like
re-type email, re-type password, etc).

I think there's a quirk in the behaviour of sfValidatorSchemaCompare
that it is throwing invalid error when the other field is invalid.

So for example:

Email: invalidemail
Re-type email: invalidemail

In this case, sfValidatorSchemaCompare is actually throwing invalid
message. Seems caused by invalid doClean from field Email.

I think sfValidatorSchemaCompare should only throw invalid error if
the raw value of the two fields are not equal.

-- 
Blue Horn Ltd - System Development
http://bluehorn.co.nz

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

Reply via email to