You will need to use the renderCallback() method, then just JS validate it
is a date or handle to invalid date.

That is off the top of my head, I am not 100% familiar with jQuery.




-- 
Senior Coldfusion Developer
Aegeon Pty. Ltd.
www.aegeon.com.au
Phone: +613 9015 8628
Mobile: 0404 998 273



-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf
Of Scott Thornton
Sent: Wednesday, 27 August 2008 9:43 AM
To: [email protected]
Subject: [cfaussie] OT: jQuery Datepicker


Hi,

A few weeks ago the jQuery Datepicker was mentioned on cfaussie..

I was wondering if anyone know the best way to go about adding functionality
to it?

1. I want the validate the date entered by the user (if they don't use the
calendar) (that 29-feb is not valid when not in a lear year etc).
2. If they type a date like 010101 to automatically parse it out to
01-Jan-2001
3. If the user enters t, enter todays date, if the enter t+1, todays date
plus one, y = yesterday's date and so on.

Cheers,

Scott Thornton, Programmer
Billing Unit
Hunter-New England Area Health Service
ext: 51762 p: +61 02 491 51762 m: 0413 800 242





--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to