Cold Fusion Form Submit Help

Completed Posted Sep 27, 2003 Paid on delivery
Completed Paid on delivery

In ASP I could loop through a posted [url removed, login to view] collection and grab values for submitted form fields with the same name to perform multiple updates in one submission. I can't figure out how to do this in Colf Fusion. It should be really simple. I have a list of input text fields (dept_uid) and checkboxes (access). I want to be able to submit the form to update each dept_uid to reflect the correct access setting (1/0).

<CFIF IsDefined("[url removed, login to view]")>

<!--- Loop through all the form fields --->

<CFLOOP FROM="1" TO="#ListLen([url removed, login to view])#" INDEX="i">

<CFPARAM name="access" default="0" >

<!--Setting Department Access Settings-->

<CFQUERY NAME="upd_pageaccess" DATASOURCE="#Application.DB#">

UPDATE csi_pagesecurity_dept SET access = #form.access# WHERE uid = #form.dept_uid#)

</CFQUERY>

<!--<CFLOCATION URL="[url removed, login to view]">-->

</CFLOOP>

</CFIF>

What I end up getting returned is one string for each field, not a collection:

4,11,7,9,5,1,3,2,10,8,13,14,12,6

1,1,1,1,1,1,1,1,1,1,1,1,1,1

I attached the page.

Please help.

Jen

## Deliverables

1) Complete and fully-functional working program(s) in executable form as well as complete source code of all work done.

2) Installation package that will install the software (in ready-to-run condition) on the platform(s) specified in this bid request.

3) Exclusive and complete copyrights to all work purchased. (No GPL, 3rd party components, etc. unless all copyright ramifications are explained AND AGREED TO by the buyer on the site).

## Platform

Windows IIS, CF MX

Cold Fusion Engineering MySQL PHP Software Architecture Software Testing

Project ID: #2981244

About the project

6 proposals Remote project Active Sep 30, 2003

Awarded to:

vw971745vw

See private message.

$17 USD in 1 day
(1 Review)
0.5

6 freelancers are bidding on average $19 for this job

dmytroberbeka

See private message.

$12.75 USD in 1 day
(26 Reviews)
5.5
dearsir

See private message.

$21.25 USD in 1 day
(14 Reviews)
4.4
thefredvw

See private message.

$21.25 USD in 1 day
(14 Reviews)
3.1
mack1

See private message.

$21.25 USD in 1 day
(1 Review)
0.2
tomorrowtoday

See private message.

$21.25 USD in 1 day
(0 Reviews)
0.0