Bobby Hartsfield wrote:
> getapp['II_C_convert' & i]

That's even moe spiffy than evaluate. Thanks...

> -----Original Message-----
> From: Les Mizzell [mailto:[EMAIL PROTECTED] 
> Sent: Saturday, February 17, 2007 9:40 PM
> To: CF-Talk
> Subject: Re: variable name radio button in a loop
> 
> It's late and I'm an idiot!
> 
> The answer is:
> 
> <input name="II_C_convert#i#"
>         type="radio"
>         value="yes" />Yes
>        <cfif evaluate("getapp.II_C_convert#i#") EQ "yes">
>           checked="checked"
>        </cfif>
>                       
> I either need to get some sleep or drink some more Jolt...
> 
> 
> 
>> Seems this would work, but it doesn't.
>> What would be the best way to handle this?
>>
>> 1. <cfloop from="1" to="8" index="i">
>> 2.
>> 3.  <input name="II_C_convert#i#"
>> 4.       type="radio"
>> 5.       value="yes"
>> 6.       <cfif getapp.II_C_convert#i# EQ "yes">
>> 7.          checked="checked"
>> 8.       </cfif>
>> 9.   />
>>
>> </cfloop>
> 
> 
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Create robust enterprise, web RIAs.
Upgrade & integrate Adobe Coldfusion MX7 with Flex 2
http://www.adobe.com/products/coldfusion/flex2/

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:270069
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to