<cfif isDefined("this_variable")>
<cfset conditional = "blah lt 4">
<cfelse>
<cfset conditional = "blah gt 4">
</cfif>
<cfif #Evaluate(conditional)#>
1
<cfelse>
2
</cfif>
-----Original Message-----
From: Wurst, Keith D. [mailto:[EMAIL PROTECTED]
Sent: Wednesday, December 03, 2003 2:11 PM
To: CF-Talk
Subject: cfif dynamic lt / gt
hey everyone. i want to write a cfif tag that checks to see if a var is
defined and switches the gt / lt attribute based on that check. for example
- if the variable is defined, then write
cfif blah lt 4
if the variable is not defined then write...
cfif blah gt 4
any help is appreciated. thanks.
_____
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

