> Use the evaluate function
>

Do you really want Ray Camden on your case???  ;oD

FWIW : that won't work anyway.
   . with IsDefined("evaluate(FORM['mytest']")  you get the same response as
Todd's code.
   . with IsDefined("#evaluate(FORM['mytest']#"), CF evaluates
FORM['mytest'] out to its content, which will fail if the variable is not
defined.
   . with IsDefined(evaluate(attributes['fuseaction'])) you get the same as
with #'s in the isdefined.

As Todd says, he should be using StructKeyExists() to see if mytest is in
the struct FORM or Ray's example of <cfif isDefined("form.#mytest#")>

Regards

Stephen


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Reply via email to