Trying to CFCATCH an ill formatted date
I need a date entered in this format
05/21/2010
I'm using this to catch if its entered improperly but its skipping the error instead
<cftry>
<cfset bywhen = DateFormat("#FORM.date#", "mm/dd/yyyy")>
<cfcatch type="any">
Your date was not formatted properly. Please go back and try again.
</cfcatch>
</cftry>
I also tried this on a cfquery with an incorrect SQL query and It's simply skipping the cfquery but not displaying the friendly message.
So it seems to be working but not displaying the friendly messages.
Could this be an administrator setting issue.
