Then I understood you correctly, and you should read my answer again.
Consider this table having a lot of rows. You would need to repeat the
form, the action and everything else *per row*. AISB, that approach does
not scale, i.e. it is wasteful with a lot of rows.
This one, that I described before, does scale well (and is Valid HTML):
<form action="some_script" method="POST">
<input type="hidden" name="security_token" value="…">
<table>
<tr>
<td><button type="submit" name="id_number" value="12345"
>Submit</button></td>
<td>Some</td>
<td>Additional</td>
<td>Fields</td>
</tr>
…
</table>
</form>
(Avoid naming form controls “submit”; because of backwards-compatibility to
DOM Level 0, that would override the “submit” method of the form.)
It does not matter if there are several submit buttons with the same name,
because those names need not be unique. And only the activated submit
button is considered successful, so there are no duplicates in the request
as well.
Or you may not want to duplicate the submit button, but have several other
controls to select the row(s), and *one* submit button to submit the
selection:
<form action="some_script" method="POST">
<input type="hidden" name="security_token" value="…">
<input type="submit" value="Submit">
<table>
<tr>
<td><input type="radio" name="selection" id="rb12345"
value="12345"></td>
<td><label for="rb12345">Some</label></td>
<td>Additional</td>
<td>Fields</td>
</tr>
…
</table>
</form>
or
<form action="some_script" method="POST">
<input type="hidden" name="security_token" value="…">
<input type="submit" value="Submit">
<table>
<tr>
<td><input type="checkbox" name="selection[]" id="cb12345"
value="12345"></td>
<td><label for="rb12345">Some</label></td>
<td>Additional</td>
<td>Fields</td>
</tr>
…
</table>
</form>
The latter implementation can be augmented with client-side scripting to
select no rows or all rows. Both implementations can be augmented with
client-side scripting to select the rows to activate the “input” element if
it was clicked somewhere in the row (although “label” elements might suffice
for you).
Either implementation is very common in Web applications – therefore
expected by the user –, for example in e-mail Web interfaces.
HTH
PointedEars
--
Anyone who slaps a 'this page is best viewed with Browser X' label on
a Web page appears to be yearning for the bad old days, before the Web,
when you had very little chance of reading a document written on another
computer, another word processor, or another network. -- Tim Berners-Lee