Rank: Newbie Groups: Member
Joined: 2/6/2009 Posts: 2
|
Using the masked edit for a birth date but it allows something like 15/45/2020. Obviously month should be limited to 12 and days, etc. etc. need to know how to accomplish this.
Have not found a sample code for this but assuming this is possible other wise it is not a Date masked edit, it is just a number formatting tool.
Don
|
Rank: Administration Groups: Administration
Joined: 5/27/2007 Posts: 24,194
|
Hi,
You wouldn't want to use a MaskedEdit control for date. It does not have the built-in logic to check whether a date is valid. Use a DatePicker instead. That will ensure user always enter a valid date.
Thanks!
|