struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dinesh Samson J" <>
Subject if-then-else condition in validation xml
Date Tue, 28 Jan 2003 16:36:32 GMT

Can we have something like an if-then-else block in validation.xml?

What I am looking for is that, 

a. if nothing is entered in field A, then do not validate field B and field C
b. if something is entered in field A, then check for (depends="required") for field B and
field C....

can this be done in validation.xml ?

Thanx in Advance
Dinesh Samson J

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message