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]

______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.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