I still say bad idea... just put it in a simpler scope to play with like
form.

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com
http://cf4em.com


-----Original Message-----
From: TechInfo [mailto:[EMAIL PROTECTED] 
Sent: Monday, June 09, 2008 1:26 PM
To: CF-Talk
Subject: Re: Setting a default value and dynamically checking a radio button

Les Mizzell wrote:
> The only thing I can find that works is:
>
> <cfif thisNL.alignHEAD EQ "rgt"
>   or thisNL.recordcount NEQ 1>
>     checked="checked"
> </cfif>
>
> Which is a little uglier that setting thisNL.alignHEAD to "rgt" by 
> default if it isn't anything else.
>   
If "thisNL" is a query, you CAN reset a value, you just have to index 
the row.
<cfset thisNL.alignHead[currentrow] = "rgt">

See if that works for you

Jevo



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;192386516;25150098;k

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

Reply via email to