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

On 10/13/05, John Lucania [EMAIL PROTECTED] wrote:
 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.
 
  tony from wish-i-could-write-javascript.com
 
  :(
 
 
  On 10/13/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
   cfif thedate lte now()
   It's a past or present date
   cfelse
   It's a future date
   /cfif
  
  
   ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
   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 entry today or past
  
   How do you make a date field allowing no entry beyond today?  The date
   must be today or past, not future.
  
   jl
  
  
  
  
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221009
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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 today or past

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

On 10/13/05, John Lucania [EMAIL PROTECTED] wrote:
 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.
 
  tony from wish-i-could-write-javascript.com
 
  :(
 
 
  On 10/13/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
   cfif thedate lte now()
   It's a past or present date
   cfelse
   It's a future date
   /cfif
  
  
   ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
   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 entry today or past
  
   How do you make a date field allowing no entry beyond today?  The date
   must be today or past, not future.
  
   jl
  
  
  
  
 
 

 



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:221012
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


Date field allowing entry today or past

2005-10-13 Thread John Lucania
How do you make a date field allowing no entry beyond today?  The date
must be today or past, not future.

jl

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220974
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


RE: Date field allowing entry today or past

2005-10-13 Thread Bobby Hartsfield
cfif thedate lte now()
It's a past or present date
cfelse
It's a future date
/cfif


..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
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 entry today or past

How do you make a date field allowing no entry beyond today?  The date
must be today or past, not future.

jl



~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220979
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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:
 cfif thedate lte now()
 It's a past or present date
 cfelse
 It's a future date
 /cfif


 ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
 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 entry today or past

 How do you make a date field allowing no entry beyond today?  The date
 must be today or past, not future.

 jl



 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220980
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54


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.

 tony from wish-i-could-write-javascript.com

 :(


 On 10/13/05, Bobby Hartsfield [EMAIL PROTECTED] wrote:
  cfif thedate lte now()
  It's a past or present date
  cfelse
  It's a future date
  /cfif
 
 
  ..:.:.:.:.:.:.:.:.:.:.:.:.:.:.
  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 entry today or past
 
  How do you make a date field allowing no entry beyond today?  The date
  must be today or past, not future.
 
  jl
 
 
 
 

 

~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:220983
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations  Support: http://www.houseoffusion.com/tiny.cfm/54