wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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.
It is sorta covered in the JavaRanch Style Guide.
subject: strut validation help
Similar Threads
validate two passwords in struts
Struts - validation
validwhen returns required error messge
Help with validation rules for form with multiple submit buttons
why no errors shown for password validation in struts 1.2.4