> 3) your cfif block is redundant - you already set your var with cfparam
> if it does not exist

I had both there testing to see if one of them would catch the 
null/empty value and set the variable. *Neither* is catching is, so it's 
not getting set.

So, looking at it again. I want the first alignHEAD box below checked by 
default if no record has been returned.

<input name="alignHEAD"
   type="radio"
   value="alignnltLEFT"
   <cfif thisNL.alignHEAD EQ "rgt">checked="checked"</cfif> />


<input name="alignHEAD"
   type="radio"
   value="alignnltLEFT"
   <cfif thisNL.alignHEAD EQ "lft">checked="checked"</cfif> />



If I do <cfoutput>#thisNL.alignHEAD#</cfoutput> - these nothing there, , 
so I'm not sure why the below won't set the varialbe to "rgt" in this case.

<cfif NOT len(trim(thisNL.alignHEAD))>
     <cfset thisNL.alignHEAD ="rgt" />
</cfif>





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:307047
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