Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date Input mask Required - URGENT!!

Status
Not open for further replies.

Michela

Programmer
Mar 1, 2002
2
IE
I am very new to ASP and Javascript.
I have a web form linked to an Access database.
One of the text boxes is suppose to be for a date and I want an input mask like (##/##/##). It's probably a javascript issue.
I would really appreciate if someone would tell me not only the code but where its suppose to go, in simple specific terms!! Thanks a mill!
 
The link provided by Nsynan is truly nifty. But 17K of code is a heavy load. Here is a link to a lightweight date validation script.


Another approach is to use drop-down lists for month, day, and year instead of a text box. That way you have a lot of control over the values selected. Even so, you need a validation script like the one above to avoid June 31 and Feb 29, 2002.

These scripts go in the HTML, not in the ASP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top