RE: Date field allowing entry today or past

2005-10-14 Thread Bobby Hartsfield
Personally id use both but Id rely mainly on the server side method. ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: Tony [mailto:[EMAIL PROTECTED] Sent: Friday, October 14, 2005 9:37 AM To: CF-Talk Subject: Re: Date field allowing entry

Re: Date field allowing entry today or past

2005-10-14 Thread Tony
john, im sure you know this, but bobby's idea is a server side check for that and my idea (the javascript way) is client side. if you want to prevent submission when this is true, you will want to use javascript if you do not care, and a server trip is ok, then go with the cfmx method. :) hth tw

Re: Date field allowing entry today or past

2005-10-13 Thread John Lucania
Thank you, Tony & Bobby -- That will work! jl On 10/13/05, Tony <[EMAIL PROTECTED]> wrote: > some sort of javascript function > that would do an onBlur event, if the fields > value is a date and is > now() then > make the value = null, and send an alert() > that notifies them of the error. > > t

Re: Date field allowing entry today or past

2005-10-13 Thread Tony
some sort of javascript function that would do an onBlur event, if the fields value is a date and is > now() then make the value = null, and send an alert() that notifies them of the error. tony from wish-i-could-write-javascript.com :( On 10/13/05, Bobby Hartsfield <[EMAIL PROTECTED]> wrote: >

RE: Date field allowing entry today or past

2005-10-13 Thread Bobby Hartsfield
It's a past or present date It's a future date ..:.:.:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com -Original Message- From: John Lucania [mailto:[EMAIL PROTECTED] Sent: Thursday, October 13, 2005 8:53 PM To: CF-Talk Subject: Date field allowing ent