| | |
problem in passing multiple checkbox values
Please support our ASP advertiser: $4.95 a Month - ASP.NET Web Hosting – Click Here!
![]() |
hi,
i have a problem in passing multiple checkbox values.
the page displays records (pending invoices). each record has a checkbox on the last column. the user must check the boxes of the records he/she wishes to update.
[html]
<table>
<tr>
<td>label1</td>
<td>label2</td>
<td>label3</td>
</tr>
<%do while rs.eof%>
<tr>
<td>nth record's field1</td>
<td>nth record's field2</td>
<td>input type='checkbox' value='nth record's field3 (variable to be passed'></td>
</tr>
<%rs.movenext
loop%>
</table>
[/html]
below the table is an update button. if the user clicks it, the variables will be passed into a popup. the user will choose whether to put the records in the group of printed or cancelled ones.
i cud not fix the error on the page
. i hope u cud help me solve this problem. i've been working on it for some time now.
thank u in advance. more power to u & to daniweb.
francis
i have a problem in passing multiple checkbox values.
the page displays records (pending invoices). each record has a checkbox on the last column. the user must check the boxes of the records he/she wishes to update.
[html]
<table>
<tr>
<td>label1</td>
<td>label2</td>
<td>label3</td>
</tr>
<%do while rs.eof%>
<tr>
<td>nth record's field1</td>
<td>nth record's field2</td>
<td>input type='checkbox' value='nth record's field3 (variable to be passed'></td>
</tr>
<%rs.movenext
loop%>
</table>
[/html]
below the table is an update button. if the user clicks it, the variables will be passed into a popup. the user will choose whether to put the records in the group of printed or cancelled ones.
i cud not fix the error on the page
. i hope u cud help me solve this problem. i've been working on it for some time now.thank u in advance. more power to u & to daniweb.
francis
•
•
Join Date: Sep 2004
Posts: 89
Reputation:
Solved Threads: 1
•
•
•
•
<table>
<tr>
<td>label1</td>
<td>label2</td>
<td>label3</td>
</tr>
<%do while rs.eof%>
<tr>
<td>nth record's field1</td>
<td>nth record's field2</td>
<td>input type='checkbox' value='nth record's field3 (variable to be passed'></td>
</tr>
<%rs.movenext
loop%>
</table>
ASP Syntax (Toggle Plain Text)
For each CheckedItem in Request.Form("checkBoxName") 'do what ever u want next
![]() |
Similar Threads
- get checkbox value (PHP)
- Problem searching multiple sheets in excel (Visual Basic 4 / 5 / 6)
- checkbox values calculation with PHP (PHP)
- Problem in getting values of a text area by row and column wise (ASP)
- recordset from multiple checkbox values (ASP)
- checkbox values (JSP)
Other Threads in the ASP Forum
- Previous Thread: Debug Activex dll from asp
- Next Thread: I want Asp auto code generators
| Thread Tools | Search this Thread |
archive asp aspandmssqlserver2005 aspandmssqlserver2005connection aspconnection connection database databaseconnection dreamweaver excel fso msmsql mssql2005 mssqlserver2005 mssqlserver2005andasp mssqlserverandasp opentextfile record searchbox selectoption single specfic sqlserver sqlserverconnection





