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 Date validation using validator

 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello friends
I am trying to do validate date with validator framework
1. Valid date check
2. Numberic value entry check

I use mask and date for that field
Can both be used for checking
My mask pattern
for yyyy-MM-dd format


When i enter 2007-03-13, i get validation error.

One more doubt, will the date validator say error if i enter character data in date field.
 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks
I solved the issue
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic