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

Reply via email to