Or better, use StructKeyExists to avoid any potential ambiguity:

http://corfield.org/blog/index.cfm/do/blog.entry/entry/isDefined_vs_structKeyExists

On Jan 21, 2008 1:28 PM, Jonathon Stierman <[EMAIL PROTECTED]> wrote:

> You don't need to use Evaluate() to perform that isDefined check.
>
> Simply use:
>
> <cfif isDefined("Form.grp_sort_#myIDX#")>
> </cfif>
>
> If you need to get the reference to that variable, use array notation on
> your Form struct:
>
> Form['grp_sort_#myIDX#']
>
> Jonathon
>
>
>
> 

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