Check out http://struts.apache.org/2.x/docs/expression-validator.html
If you are using annotations check out http://struts.apache.org/2.x/docs/expressionvalidator-annotation.html Your expression will be something like @ExpressionValidator(expression="email.equals(confirmEmail)",? message="The email fields do not match") Chris -----Original Message----- From: James Carr <james.r.c...@gmail.com> To: Struts Users Mailing List <user@struts.apache.org> Sent: Wed, Aug 12, 2009 5:30 pm Subject: Validating that two fields match? Hello, Is there something out of the box that will let me validate if two fields match in struts2? An example would be a form with email and confirmingEmail fields. Thanks, James --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org