|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I think it's pretty easy, but I'm a javascript newbie so some help is appreciated.
I need to check if a date submitted by a form isn't before todays date. But how? Any help is welcome. Jeroen |
|
#2
|
|||
|
|||
|
When you say date submitted by a form do you mean the user inputs the date into a text field? And when you say todays date do you mean your server's date or the date on user's computer? The user's date, which is the one accessible by javascript, can be changed to whatever the user wants...
|
|
#3
|
|||
|
|||
|
The input is given by the user (say a date on which he wants to rent a room.)
Javascript takes the localsettings of the user, so those are what we are dealing with then. |
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Validating that submit date isn't in the past |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|