Todd
Why not just do:
<cfif isDefined("form.mytest")> ?
variable[] isn't really a true variable name. Think of [] as an operator
like + and -.
I think that MX fixes that "bug."
Mike Wokasch
At 09:30 AM 10/25/2002 -0400, you wrote:
>Is this not possible?
>
><cfset form.mytest = 2>
><cfdump var="#FORM#">
><cfoutput>#FORM["mytest"]#</cfoutput>
><cfif isdefined('FORM["mytest"]')>
>Yup
></cfif>
>
>Error:
>Parameter 1 of function IsDefined, which is now
>"FORM["mytest"]", must be a syntactically valid variable name.
>
>--
>============================================================
>Todd Rafferty ([EMAIL PROTECTED]) - http://www.web-rat.com/ |
> Team Macromedia Volunteer for ColdFusion |
>http://www.macromedia.com/support/forums/team_macromedia/ |
>http://www.flashCFM.com/ - webRat (Moderator) |
>http://www.ultrashock.com/ - webRat (Back-end Moderator) |
> Speakeasy DSL - http://www.speakeasy.net/refer/18280 |
>============================================================
>
>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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