Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Missing required if and valid when

Status
Not open for further replies.

Einstein47

Programmer
Nov 29, 2001
737
0
0
US
I have been on my team's struts development for about 4 months now. I have encountered many times when I would like to validate one field based on the value in another field. I have read about required if, and valid when, but apparently our install didn't contain those features.

I looked around and noticed that our validator-rules.xml has a stub for the requiredIf, but it is empty. Where can I go to get this code? I am not able to just update our whole struts implementation to the latest, but I could add to the validator-rules.xml to add the missing functionality.

Thanks in advance,

Einstein47
(For best results: hand wash in cold, tumble dry low. For not so good results: drag through puddles, pound on rocks, air dry on tree branch.)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top