try "True"

-----Original Message-----
From: Douglas Brown [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 27, 2002 4:16 PM
To: CF-Talk
Subject: What's wrong here?


I must be brain dead, I cant figure out why this dont work. Right now
the value of this field in the DB is 1 and when I run this, the checkbox
does not even show up. If I take the <cfelse> portion out, then it works
ok.



    <cfif (get_inventory_for_update.power_brakes) EQ 1>
     <cfset check = "CHECKED">
     <cfelse>
     <cfset check = "">
     <cfoutput>
     <input type="checkbox" name="power_brakes"
value="#get_inventory_for_update.power_brakes#" #check#>
     </cfoutput>
    </cfif>




Douglas Brown
Email: [EMAIL PROTECTED]


______________________________________________________________________
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.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