This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan 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 Android Security Essentials Live Lessons this week in the Android 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: 15376
when do you want it to happen?
wood burning stoves
subject: date validation in javascript
Similar Threads
What is good practice for FORM VALIDATION ?
Date Difference
Validation for Future date
same date should entered in another date field
very very urgent??