On 11/14/2010 1:52 PM, David Moore wrote: >> I find this easier to read: >> null="#yesNoFormat(len(trim(form.contributed)))#">
What about using null="#isDate(form.contributed)#" ? It looks like you are assuming a valid date or an empty string. What if someone puts in "foo" into the form field? Perhaps you are doing something else to validate the field that I am not following. -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek Blog: http://rogerthegeek.wordpress.com/ MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:339203 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

