The moose likes HTML, CSS and JavaScript and the fly likes date validation Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "date validation" Watch "date validation" New topic
Author

date validation

Srinath R
Ranch Hand

Joined: Jun 28, 2000
Posts: 71
i have an applet which is used for the date selection, this applet is present in a form, in javascript i am able to retrieve the date useing "var mydate=document.formApplet.getDate();" here the applet name is fromApplet and mydate is the javascript variable now my problen is that i want to restrict the user from entering a date which is less than 1/jan/1900 or more than 6/june/2079
how do i do this?
kindly respond soon, need it very urgently
tnx
srinath
 
 
subject: date validation
 
Threads others viewed
Optional parameters in EJB QL?
Oracle cast()+PreparedStatement
bad encapsulation why? need help!
Deprecated method and parsing rfc2822 date.
Garbage Collection
IntelliJ Java IDE