> >Ok, what happened? I used to be able to loop through form.fieldnames to
> >create a list of all of the fields and then I could write my processor
> >script. CFMX, on the other hand, gives me the following:
> >
> >Element FIELDNAMES is undefined in FORM.
> >
> >Anybody have any ideas?
> >
> >Cutter
> >I just ran into this problem while to code a Paypal script. Has a
> solution been found for this problem ?
>
I don't recall having this problem in MX. However, you should be able
to treat the FORM scope like a structure and loop over it as a collection:
<cfloop collection="#FORM#" item="i">
<cfoutput>#i# = #FORM[i]#</cfoutput>
</cfloop>
I'm writing that off the top of my head, but it should work.
Scott
--
---------------------------
Scott Brady
http://www.scottbrady.net/
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

