Check out the "Comparing Two Fields" section in the link below: http://jakarta.apache.org/struts/userGuide/dev_validator.html
----- Original Message ----- From: "James Higginbotham" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 21, 2003 2:57 PM Subject: [Validator] Anyone have a fields match rule? Hi, Anyone out there written the validator and Javascript for validating 2 fields, say a password and confirm password, to ensure that they match? I am using the Dec 12th CVS of Struts and related validation jars and haven't found anything yet. CVS diffs show that nothing new has been added to validation-rules.xml yet. Seems like a nice rule to have by default in Struts, since we all do lots of Create a New User pages that often require a confirm of a password or email. I'm looking for both server and client validators, but will take what I can get ;) Thanks, James --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.435 / Virus Database: 244 - Release Date: 12/31/2002

