> -----Original Message-----
> From: Dinesh Samson J [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, January 28, 2003 11:37 AM
> To: [EMAIL PROTECTED]
> Subject: if-then-else condition in validation xml
>
>
> Greetings,
>
> 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....
Check out the "requiredif" validator in 1.1b3
James Turner
Owner & Manager, Black Bear Software, LLC
[EMAIL PROTECTED]
Author:
MySQL & JSP Web Applications:
Data Driven Programming Using Tomcat and MySQL
ISBN 0672323095; Sams, 2002
Co-Author:
Struts Kick Start
ISBN 0672324725; Sams, 2002
"We've seen no better resource for learning Struts than Struts Kick
Start." -- Barnes & Noble
Forthcoming:
JavaServer Faces Kick Start
Sams, Fall 2003
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>