This week's book giveaway is in the Other Languages forum.
We're giving away four copies of Functional Reactive Programming and have Stephen Blackheath and Anthony Jones on-line!
See this thread for details.
Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts validation validwhen tag

 
subu ananthram
Ranch Hand
Posts: 102
  • 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