6 Replies Latest reply on May 28, 2010 3:10 AM by A***

    Trying to CFCATCH an ill formatted date

    lovewebdev Level 1

      I need a date entered in this format




      I'm using this to catch if its entered improperly but its skipping the error instead


      <cfset  bywhen = DateFormat("#FORM.date#", "mm/dd/yyyy")>
      <cfcatch type="any">
        Your date was not formatted properly. Please go back and try again.



      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.