checked="#something eq 'somethingelse#" That should work just fine. No need for the iff() in this case.
On 3/23/07, Richard Cooper <[EMAIL PROTECTED]> wrote: > > I'm assuming there is a noticeable difference in using IFF? Recently I've > been using it quite heavily in forms now i.e. > > <cfinput type="radio" name="myField" id="myField" value="myValue" > checked="#IIF(something eq 'somethingelse', DE('Yes'), DE('No'))#" /> > > Are there better ways of doing this? > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create Web Applications With ColdFusion MX7 & Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:273495 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4