You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by James Higginbotham <jh...@betweenmarkets.com> on 2003/01/21 21:57:32 UTC
[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
Re: [Validator] Anyone have a fields match rule?
Posted by Giri Alwar <ga...@hotmail.com>.
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" <jh...@betweenmarkets.com>
To: <st...@jakarta.apache.org>
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