or do a <cfif len(URL.MyVar) eq 0> then we have a null value </cfif>
after the cfparam.

-----Original Message-----
From: BT [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 1:41 PM
To: CF-Talk
Subject: RE: CFPARAM to catch null strings


cf param with a "-1"

-----Original Message-----
From: Carlisle, Eric [mailto:[EMAIL PROTECTED]]
Sent: Monday, August 20, 2001 3:35 PM
To: CF-Talk
Subject: CFPARAM to catch null strings


I'm using CFPARAM to set defaults for custom tag attributes.  I'm trying to
catch an attributeName="" (null/blank value) with CFPARAM and set it to a
default value.  CFPARAM catches all the unDefined attributes just fine.  It
let's the null ones slip by.  Any suggestions?  Can I do this with CFPARAM?

        Thanks,
        Eric Carlisle
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to