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 Murach's Java Servlets and JSP this week in the Servlets 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
subject: Problem in validation (Select box)
Similar Threads
Posting to bump up my count...
Text box value is not being completely filled with request attribute
WA #1.....word association
Cant use object from another class
The x900 effect ?