Take a look at the examples here http://www.ninsky.com/struts/
The validator example shows one way of doing exactly this. (It's very
similar to David's example).

If you can use the nightly build, then the validwhen rule can alsoe compare
fields.

Steve


> -----Original Message-----
> From: Jiri Chaloupka [mailto:[EMAIL PROTECTED]
> Sent: August 26, 2003 2:14 PM
> To: Struts Users Mailing List
> Subject: DynaValidator and two fields with identical content
>
>
> Hallo,
> I have registration form
>
> username: <input name="usr">
> password: <input name="pwd">
> password again: <input name="pwd2">
>
> how I can chceck if pwd contains identical content as pwd2 in
> DynaValidator layer?
> Does anybody has this extension for validator-rules?
>
> Thanks, Jiri
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to