wood burning stoves 2.0*
The moose likes Struts and the fly likes validwhen Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "validwhen" Watch "validwhen" New topic
Author

validwhen

Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55
Hi there,

I need to validade my field password and password confirmation, so my second one needs to be identical to the first one.
Has somebody implemented anything like that with the validwhen method?

I know about the var declaration, but I'm having trouble with the expression, how to compare both field's value?

thnks


--BJCK--
Bruno Frascino
Ranch Hand

Joined: Jul 22, 2003
Posts: 55


This code check if my field myPassword is identical to the field checkPassword.

Thanks anyway!
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: validwhen
 
Similar Threads
validwhen returns required error messge
Struts validation help needed....
strut validation help
Struts validwhen doesn't offer client side validation?
how to check two fields are similar in struts?