Em Andamento

Cold Fusion Form Submit Help

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

Habilidades: Cold Fusion, Engenharia, MySQL, PHP, Arquitetura de software, Teste de Software

Ver mais: cf software, cold fusion software, fusion, cold fusion, form fields, loop url list, form submit php, fusion help, update form access, please help, help access code, form submit page, cfm asp, fusion installation, simple form submission, submit simple form, url submit, help grab, php grab url, work request form, simple php checkboxes, php url submit, simple form collection, form update iis, php asp cfm

Acerca do Empregador:
( 39 comentários ) Tampa, United States

ID do Projeto: #2981244

Premiar a:

vw971745vw

See private message.

$17 USD em 1 dia
(1 Comentário)
0.5

6 freelancers estão ofertando em média $19 para este trabalho

dmytroberbeka

See private message.

$12.75 USD em 1 dia
(26 Comentários)
5.5
dearsir

See private message.

$21.25 USD em 1 dia
(14 Comentários)
4.4
thefredvw

See private message.

$21.25 USD em 1 dia
(14 Comentários)
3.1
mack1

See private message.

$21.25 USD em 1 dia
(1 Comentário)
0.2
tomorrowtoday

See private message.

$21.25 USD em 1 dia
(0 Comentários)
0.0