There's always a way. If you are really concerned about validation a nested table containing the form and the button in the last cell of the data? Setting padding and margin styles should make it virtually unnoticeable.
Samus
@Samus
Best posts made by Samus
Latest posts made by Samus
-
RE: The little PHP script that couldn't
-
RE: The little PHP script that couldn't
Why not just use one form per row of data and in the form include all of the buttons with a value attribute. Then on the server just check to see what button was pressed. It'll come up in the post data. Also the type attribute on the button input tag should be changed to submit. Its a wtf on its own to have a regular button call javascript to submit a form. I noticed that some of the forms go to different pages. If you don't want to take the time to make some kind of dispatching page you could use javascript to change the action on the form to the proper action according to what button was pressed. Something like onclick="this.form.action='case_log_upload'; this.form.submit();". Keep the buttons as button types instead of submits then or you'll get double postings.