validateCompareTo is a better choice than validateEqual.
http://myfaces.apache.org/sandbox/validateCompareTo.html On 8/10/06, Robert Locklear <[EMAIL PROTECTED]> wrote:
http://myfaces.apache.org/tomahawk/validateEqual.html Thanks, Robert -----Original Message----- From: Tom Serru [mailto:[EMAIL PROTECTED] Sent: Thursday, August 10, 2006 10:32 AM To: users@myfaces.apache.org Subject: Compare two password fields with a validator Hi, Is there a way to create a validator to compare two fields (like a password and a password check field) ? I would like to have something like this as result: ... <h:inputSecret id="password"> <f:validator validatorId="CompareFields" otherField="passwordCheck"/> </h:inputSecret> ... <h:inputSecret id="passwordCheck"> ... Thx... -- View this message in context: http://www.nabble.com/Compare-two-password-fields-with-a-validator-tf208 3442.html#a5740422 Sent from the MyFaces - Users forum at Nabble.com.