<cfif structKeyExists(form, 'grp_sort_' & myIDX) and form['grp_sort_'
& myIDX] neq "">

also, could you elaborate on "doesn't work"?

On Jan 21, 2008 10:23 AM, Les Mizzell <[EMAIL PROTECTED]> wrote:
> This evaluate thing, which doesn't work below, always stumps me..
>
>
> <cfloop index="myIDX" list="#FORM.THISid#">
>
> <cfif IsDefined("evaluate("form.grp_sort_#myIDX#")")
>   AND #evaluate("form.grp_sort_#myIDX#")# NEQ "">
>
> <!--- Do something --->
>
> </cfif>
>
>
> ....which, for myIDX = "115", gets you "Variable form.grp_sort_115 is
> undefined".
>
>
> What's the best way to rewrite this so it works..
>
> TIA
>
>
>
>
>
>
>
>
>
> 

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

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:296990
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