Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

validation date

 
Maria Luisa Della Vedova
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I would like to know if is it possibile to validate with validation.xml a date against several
Pattern.
My users want to be able to insert a date in a different ways
Ex. 21/05/2007 or 21-05-2007

I tried to combine the validator date (datePattern) with the validator
mask but I dind�t succed.
Any suggestions?

thanks in advance for your time.
 
What are you doing? You are supposed to be reading this tiny ad!
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!