wood burning stoves 2.0*
The moose likes Struts and the fly likes  Problem in validation  (Select box) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark " Problem in validation  (Select box)" Watch " Problem in validation  (Select box)" New topic

Problem in validation (Select box)

BadalDeepali Garg

Joined: Jun 13, 2005
Posts: 4
hi there are two drop down on my jsp while i do serarch atlest one of them should be selected is there any way i can get around this in validator.xml
Karl Beowulph
Ranch Hand

Joined: May 31, 2004
Posts: 130
You're going to want to use the "requiredif" function in the validator to specify your conditions.
[ June 14, 2005: Message edited by: Karl Beowulph ]
BadalDeepali Garg

Joined: Jun 13, 2005
Posts: 4
It would be great if u can give me the sample code for the same
I agree. Here's the link: http://aspose.com/file-tools
subject: Problem in validation (Select box)