OK, so that could cause the problem he's having. He said there seem to be field names missing from the "form.fieldnames" list. If he has three fields with the same name, there will seem to be two less names in "form.fieldnames" than there are fields on the submitted form. Although, that would be pretty easy to diagnose, so that's probably not the issue.
-- Josh ----- Original Message ----- From: "loathe" <[EMAIL PROTECTED]> To: "CF-Talk" <[email protected]> Sent: Wednesday, July 19, 2006 2:42 PM Subject: RE: Form.fieldnames doesn't contains all form field names? > The name shows up just the one time. > >> -----Original Message----- >> From: Josh Nathanson [mailto:[EMAIL PROTECTED] >> Sent: Wednesday, July 19, 2006 5:35 PM >> To: CF-Talk >> Subject: Re: Form.fieldnames doesn't contains all form field names? >> >> The values of the duplicate fields would show up as a comma delimited >> list, >> but the fieldnames themselves? How would that work -- "field1, field1, >> field1, field2, field3 etc."? >> >> >> ----- Original Message ----- >> From: "loathe" <[EMAIL PROTECTED]> >> To: "CF-Talk" <[email protected]> >> Sent: Wednesday, July 19, 2006 2:27 PM >> Subject: RE: Form.fieldnames doesn't contains all form field names? >> >> >> > Those show up as a comma delimited list. >> > >> >> -----Original Message----- >> >> From: Josh Nathanson [mailto:[EMAIL PROTECTED] >> >> Sent: Wednesday, July 19, 2006 5:21 PM >> >> To: CF-Talk >> >> Subject: Re: Form.fieldnames doesn't contains all form field names? >> >> >> >> Any fields with duplicate names? That might mess things up. >> >> >> >> -- Josh >> >> >> >> >> >> ----- Original Message ----- >> >> From: "Andy Matthews" <[EMAIL PROTECTED]> >> >> To: "CF-Talk" <[email protected]> >> >> Sent: Wednesday, July 19, 2006 1:49 PM >> >> 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:247112 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

