I belieive IIF stands for Inline IF and DE stands for Delay(ed) Evaluation
HTH Mike -----Original Message----- From: Steven Lancaster [mailto:[EMAIL PROTECTED]] Sent: 13 November 2001 16:50 To: CF-Talk Subject: RE: Radio Button what does iif and de stand for? I understand what it is doing, I just don't understand the syntax. Steven Lancaster WebMaster Core Laboratories 6316 Windfern Houston, TX 77040 713-328-2532 (Office) 713-328-2150 (Fax) 832-259-3010 (Cell) mailto:[EMAIL PROTECTED] http://www.corelab.com -----Original Message----- From: Philip Arnold - ASP [mailto:[EMAIL PROTECTED]] Sent: Tuesday, November 13, 2001 10:48 AM To: CF-Talk Subject: RE: Radio Button > Is there any way to take a value out of a database and see if it > matches a value on a radio button and if it does to check that radio > button? I have 3 radio buttons. I need to look at the values and see > if they match whichever > one matches I need to have that radio button checked. I know this probably > and idiotic question (sorry). CFIF or IIF() <cfloop query="myQuery"> <input type="radio" name="myName" value="1" #iif(myField is 1,de("checked"),de(""))#> 1<br> </cfloop> You get the idea Philip Arnold Director Certified ColdFusion Developer ASP Multimedia Limited T: +44 (0)20 8680 1133 "Websites for the real world" ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Structure your ColdFusion code with Fusebox. Get the official book at http://www.fusionauthority.com/bkinfo.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