A CFFORM feature is server-side validation. To kick it off, you need specially formatted form field names. One of those is *_DATE.
Quoting from http://livedocs.macromedia.com/coldfusion/6.1/htmldocs/tags-p38.htm#wp2433198 === Any form field name, from the cfform tag or an HTML form, that ends in one of the following suffixes invokes server-side form validation: * _integer Verifies that the user entered a number. * _float Verifies that the user entered a number. * _range Verifies that a numeric value entered is within specified boundaries. * _date Verifies that the user entered a date; converts to ODBC date format. * _time Verifies that the user correctly entered a time; converts to ODBC time format. * _eurodate Verifies that the user entered a date in a standard European date format; converts to ODBC date format. Do not use these suffixes for your field names. === On Thu, 31 Mar 2005 13:45:45 -0700, Scott Weikert <[EMAIL PROTECTED]> wrote: > Hey all - > > Got a weird issue happening here. I've got a form that, when submitted, > one of the fields doesn't get added to the 'form.fieldlist' variable - > hence, doesn't get kicked over to the attributes scope (using > CFFormURL2Attributes), and hence, causes an error to kick when that > variable isn't present. > > The variable IS present in the 'form' scope, though - it just isn't in > form.fieldnames. Doing a dump of the form scope reveals the variable and > the expected value. Doing a dump of the attributes scope, the variable > isn't there. > > The variable name in question is 'Brochure_Request_Date' - and I've > since adjusted that field name to simply 'BrochureReqDate' and it works > fine now. What in the old variable name could be the issue? The word > 'Request'? I know it's not the underscores, as other fields in the same > form have underscores in them. > > --Scott > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:201053 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=11502.10531.4 Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

