This week's book giveaway is in the Clojure forum.
We're giving away four copies of Clojure in Action and have Amit Rathore and Francis Avila on-line!
See this thread for details.
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

strut validation help

 
roy joseph
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what's wrong with this code? it wont validate!?

 
roy joseph
Greenhorn
Posts: 25
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

help
 
Marc Peabody
pie sneak
Sheriff
Posts: 4727
Mac Ruby VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using javascript or server validation?
Also, which version of Struts are you using?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic