HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old October 26th, 2000, 04:10 AM
Progression Progression is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Eindhoven, NL
Posts: 23 Progression User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #2  
Old October 26th, 2000, 06:31 PM
Anarchos Anarchos is offline
Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2000
Posts: 28 Anarchos User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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...

Reply With Quote
  #3  
Old October 26th, 2000, 06:43 PM
Progression Progression is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Eindhoven, NL
Posts: 23 Progression User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Validating that submit date isn't in the past


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 4 hosted by Hostway
Stay green...Green IT