I have some dynamically generated form fields which i loop through
after submission.
Only problem is when i try to use isdefined, i get an error like this:
"Parameter 1 of function IsDefined, which is now "form["test_1"]",
must be a syntactically valid variable name."
Here's a stripped down example of the problem (without the looping):
<cfparam name="form.test_1" default="1" />
<cfset i = 1 />
<cfif isdefined("form['test_#i#']")>
yes
</cfif>
Any thoughts on how i can use the isdefined() test in this scenario?
I'm probably missing something simple... i blame the heat ;)
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"cfaussie" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/cfaussie?hl=en
-~----------~----~----~----~------~----~------~--~---