dumping the form structure will also contain the 'fieldnames' key, as well as 'x' and 'y' (i believe).
On 7/19/06, Andy Matthews <[EMAIL PROTECTED]> wrote: > Just an update. Form.fieldnames contains 45 items whereas dumping the FORM > structure shows 48. Is there a limit to the form scope? > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > -----Original Message----- > From: Andy Matthews [mailto:[EMAIL PROTECTED] > Sent: Wednesday, July 19, 2006 3:49 PM > To: CF-Talk > Subject: Form.fieldnames doesn't contains all form field names? > > > MX 6.1 here > > I've got a page with a lengthy form (40+ fields). On submit, some of the > fields aren't getting saved to the db. So I start testing: > > 1) I dump the form structure, fields are there. > 2) I dump Form.fieldnames, fields are NOT there. > 3) I loop over Form.fieldnames to test and indeed, the fields are not there. > > Does anyone know what might be going on? I'm doing a simple cfloop over > Form.fieldnames: > > <cfloop index="field" list="#FORM.fieldnames#"> > #field#<br> > <!--- <cfset myFields.values["#field#"] = FORM["#field#"]> ---> > </cfloop> > > Any ideas? > > <!----------------//------ > andy matthews > web developer > certified advanced coldfusion programmer > ICGLink, Inc. > [EMAIL PROTECTED] > 615.370.1530 x737 > --------------//---------> > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/cf_lists/message.cfm/forumid:4/messageid:247098 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

