is this a reply or the post?

either way, make sure you use <CFELSE> not </CFELSE>. for 
readability, i
recommend you not use caps with your functions. titlecase is much 
easier to
read; ISDEFINED v. IsDefined.

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 18, 2001 7:37 AM
To: CF-Talk
Subject: Re: Checking variable for input



I have the following code. How can I check the "filter" variable to 
see if
it's equal to something.

<CFIF ISDEFINED("defined")>

        <CFIF filter IS "">
                code here...
        </CFELSE>
                code here...
        </CFIF>

        code here...
<CFELSE>
        code here...
</CFIF>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to