Cold Fusion Form Submit Help

完了済み 投稿 Sep 27, 2003 着払い
完了済み 着払い

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 エンジニアリング MySQL PHP ソフトウェアアーキテクチャ ソフトウェアテスト

プロジェクトID: #2981244

プロジェクトについて

6個の提案 リモートプロジェクト アクティブ Sep 30, 2003

アワード:

vw971745vw

See private message.

$17 USD 1日以内
(レビュー1件)
0.5

6人のフリーランサーが、平均$19 で、この仕事に入札しています。

dmytroberbeka

See private message.

$12.75 USD 1日以内
(26件のレビュー)
5.5
dearsir

See private message.

$21.25 USD 1日以内
(14件のレビュー)
4.4
thefredvw

See private message.

$21.25 USD 1日以内
(14件のレビュー)
3.1
mack1

See private message.

$21.25 USD 1日以内
(レビュー1件)
0.2
tomorrowtoday

See private message.

$21.25 USD 1日以内
(0件のレビュー)
0.0