File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes date validation in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "date validation in javascript" Watch "date validation in javascript" New topic

date validation in javascript

Avijit Kumar Mondal

Joined: Oct 29, 2004
Posts: 1
I have a text field like that:

<input type=text name=date >

In this text field the user can enter the date in dd/mm/yyyy format.

but the future date is not allowed, except the past and present date is allowed.


Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
when do you want it to happen?
I agree. Here's the link:
subject: date validation in javascript
It's not a secret anymore!