How about just <cfif Attributes.Json IS "on"></cfif> (the "IS" test isn't a
case-sensitive test).
:-)


-----Original Message-----
From: Sandra Clark [mailto:[EMAIL PROTECTED]]
Sent: Saturday, November 25, 2000 9:34 AM
To: Fusebox
Subject: RE: Form Help


<BEGINSNIP>
<cfparam name="attributes.json" default="On">
<cfif (attributes.json is "ON") or (attributes.json is "On") or
(attributes.json is "on") >
        <cfinclude template="../JStmp/js_logcheck.cfm">
        <cfset json = "On">
</cfif>

</BEGINSNIP>

Why not just say:

<cfif Ucase(Attributes.Json IS "ON"></cfif>?   Much faster and easier and
makes sure all aspects are covered?

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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to