Thanks for all the help folks!!!
Douglas Brown Email: [EMAIL PROTECTED] ----- Original Message ----- From: "Boardwine, David L." <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, June 27, 2002 2:06 PM Subject: RE: What's wrong here? > You can also do this inline in the input statement as follows. > > <input type="checkbox" name="power_brakes" > value="#get_inventory_for_update.power_brakes#" > <cfif (get_inventory_for_update.power_brakes) EQ 1>check</CFIF>> > > HTH > DavidB > > -----Original Message----- > From: Phillip Cave [mailto:[EMAIL PROTECTED]] > Sent: Thursday, June 27, 2002 4:22 PM > To: CF-Talk > Subject: RE: What's wrong here? > > > don't know if it will make a difference, but shouldn't your <cfif> be > terminated after the <cfset check = "">? > > -----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/[email protected]/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

