Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
Post Reply
Bookmark Topic
Watch Topic
New Topic
programming forums
Java
Mobile
Certification
Databases
Caching
Books
Engineering
Micro Controllers
OS
Languages
Paradigms
IDEs
Build Tools
Frameworks
Application Servers
Open Source
This Site
Careers
Other
Pie Elite
all forums
this forum made possible by our volunteer staff, including ...
Marshals:
Campbell Ritchie
Jeanne Boyarsky
Ron McLeod
Paul Clapham
Liutauras Vilda
Sheriffs:
paul wheaton
Rob Spoor
Devaka Cooray
Saloon Keepers:
Stephan van Hulst
Tim Holloway
Carey Brown
Frits Walraven
Tim Moores
Bartenders:
Mikalai Zaikin
Forum:
Struts
Struts1 -Validator Framework
Pankaj Shet
Ranch Hand
Posts: 338
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
HI Ranchers,
There are 2 fields - Field1 and Field 2
Field 1 is required if and only if field 2 contains data.
I want to write validation for the same.
How can I do this in Validator Framework?
PANKAJ SHET
B.Sc.(I.T.), S.C.J.P., S.C.W.C.D., PGDAC(CDAC)
Joe Ess
Bartender
Posts: 9626
16
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
Go to the
Struts User's Guide section on the Validator
and scroll down to "Designing Complex Validations with validwhen"
[
How To Ask Questions On JavaRanch
]
What a show! What atmosphere! What fun! What a tiny ad!
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts Validation for non formdata
Struts 2 validation -- Acion/Bean name is compulsary in the XXXX-validation xml?
struts validator. stoping on first validation error.
Multiple field validation in Struts2 Validation using validation.xml file
Skip validation when form not submitted
More...