Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

mldv

 
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 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic