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

Struts validation validwhen tag

 
subu ananthram
Ranch Hand
Posts: 102
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am tryign to use the validwhen tag for struts validation
I have a certain user acct something like ABC%(ie ABC2,ABC45 etc) and for that user acct the user must fill a particular form field for others there is no need

so in that form field i use a valid when tag
but I want to do a LIKE comparison ie I want to see if the user Acct starts with ABC
I know I can use < >= but is there something that enables string comparisons in the validwhen tag?
thanks
subu
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic