Geez, the existing feature's so hidden that even MVPs don't know about it.
(Sorry Chris, wanted to make a point to MS. This is the third time this
question was posted in this newsgroup in the last 2 days.)
The CompareValidator can validate the date format. Set Operator to
DataTypeCheck and Type to Date.
FYI: A much better way to handle date entry is to use one of the many date
textboxes with popup calendars offered out there. Mine is "Peter's Date
Package" (
http://www.peterblum.com/datecontrols/home.aspx) and includes
validators.
--- Peter Blum
www.PeterBlum.com
Email:
PL****@PeterBlum.com
"Chris Jackson" <chrisjATmvpsDOTorgNOSPAM> wrote in message
news:uz**************@TK2MSFTNGP11.phx.gbl...
Use a regular expression validator. If you aren't familiar with writing
regular expressions, you can look at samples of regular expressions for
dates here:
http://www.regxlib.com/DisplayPatter...4&categoryId=5
--
Chris Jackson
Software Engineer
Microsoft MVP - Windows Client
Windows XP Associate Expert
--
More people read the newsgroups than read my email.
Reply to the newsgroup for a faster response.
(Control-G using Outlook Express)
--
"Hai Nguyen" <ha******@neo.tamu.edu> wrote in message
news:%2****************@TK2MSFTNGP10.phx.gbl...I have a textbox which requires to fill out date in the format
mm/dd/yyyy I want to know how i custom my validiator to check if input is in right
format
Thanks