Hi all! Here's the setup...

In a cfc method:
<cfargument name="myDate" type="date" required="no" default="">

In my calling cfm:
<cfset x=myCFC.myFunc(myDate=formDate)>

formDate always exists, but sometimes it's empty (formDate eq "" evaluates to
true) and sometimes it contains a date.

If it's empty, I get an error generated from the component that myDate is not
of type date.

So, my preference is to make use of the date type in the argument, but the
reality is that an empty (null) value is valid.

Does anyone have any suggestions on how to make this work and still use the
date type?

Thanks!
Sharon