This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
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

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
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!