Can't find my original code, but had this problem and found had to duplicate form first, then wddx. (Without this, it got only a random 10 fields.) I've no answer as to why, though. Here is archive link: http://www.mail-archive.com/cf-talk@houseoffusion.com/msg120167.html I'm thinking that a recent updater may have fixed this problem, but not sure.
E. Keith Dodd Wings of Eagles Services www.wingserv.com ----- Original Message ----- From: "Justin Hansen" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Thursday, February 13, 2003 10:36 AM Subject: RE: Form.Fieldnames and MX > I had a similar problem trying to put the form scope in wddx packet. For me, it keep dropping fields at random. I would be nice to know why this issue exists. Any MX Gods out there care to explain why the form struct keeps dropping vars when you try to wddx it? > > This is how I got around it...... > > <cfset locExcludeList = "FIELDNAMES"> <!--- you could stick others here to keep them out of the packet ---> > <cfloop collection="#form#" item="i"> > <cfif not listFind(locExcludeList,i)> > <cfset "locForm.#i#" = form[i]> > </cfif> > </cfloop> > > <cfwddx action="cfml2wddx" input="#locForm#" output="locFormPacket"> > > Justin Hansen > -------------------------- > Uhlig Communications > Systems Engineer > -------------------------- > [EMAIL PROTECTED] > 913-754-4273 Office > 816-695-4045 Mobile > -------------------------- > > > -----Original Message----- > From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] > Sent: Thursday, February 13, 2003 9:26 AM > To: CF-Talk > Subject: Re: Form.Fieldnames and MX > > > Though Form is selected for Display, nothing for Form is coming up on > the action page in the debugging info. (Maybe because no data is being > passed?) > > Cutter > > Andy Ousterhout wrote: > > >Turn on Display Variables in CF Admin and see what is getting passed.... > > > >-----Original Message----- > >From: Cutter (CF_Talk) [mailto:[EMAIL PROTECTED]] > >Sent: Thursday, February 13, 2003 8:29 AM > >To: CF-Talk > >Subject: Form.Fieldnames and MX > > > > > >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 > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4 Subscription: http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4 FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Get the mailserver that powers this list at http://www.coolfusion.com Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4