This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Doubt in field validation using struts

Phanindra varma
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

Can you please help me out in this.

I have a text field i need to validate that text field using validator frame work. The text filed should accept multiple conditions like below:

1. It should accept year (eg : 2006)
2. It should accept month (eg : 09/2006)
3. It should accept date (eg : 11/09/2006)
4. It should accept range (eg: 2006-2009)
5. Months (eg: 15 M)
6. years (eg: 5 y)

How should i validate these conditions with single text field. can you please help me ....
Thanks in Advance
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic