This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Struts and the fly likes strut validation help Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "strut validation help" Watch "strut validation help" New topic

strut validation help

roy joseph

Joined: Dec 26, 2003
Posts: 25
what's wrong with this code? it wont validate!?

be annoying .. Aku Soku Zan
roy joseph

Joined: Dec 26, 2003
Posts: 25
the validwhen is the one that's where im having issues with. the mask is ok. If i remove validwhen then mask is called and everything works.

What i want is that the studentNo and lastName are dependent on the the string value of searchBy.

Marc Peabody
pie sneak

Joined: Feb 05, 2003
Posts: 4727

Are you using javascript or server validation?
Also, which version of Struts are you using?

A good workman is known by his tools.
I agree. Here's the link:
subject: strut validation help