<cfif ( isDefined("var") AND var2 LT 4 ) OR ( NOT isDefined("var") AND var2
GT 4 )>
  <!--- whatever --->
</cfif>

> -----Original Message-----
> From: Wurst, Keith D. [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, December 03, 2003 11:11 AM
> 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]

Reply via email to