I use the following "IsEmpty( )" function for simple values. It saves time
and it looks similar (in my code) to "IsDefined( )":
<Cfscript>
function IsEmpty(item){
IF(len(trim(item))) return false;
ELSE Return true;
}
</cfscript>
-----Original Message-----
From: Chuck Brockman [mailto:cfmail@;designmotives.com]
Sent: Thursday, October 31, 2002 2:55 PM
To: CF-Talk
Subject: RE: Need assistance with listbox on a form
Try len(Trim(chgFLangauge)). See if that helps
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com