You created the problem yourself.
As I understand it, you are having trouble sending multiple checkboxes to the "Record Name" column with a "bulk copy" button.
So it should work. This is because you close your form in the "display order" column, which essentially makes it cointain only the first checkbox in it. If you want to publish all checked flags in a "bulkcopy" script, you will either have to declare it as a separate form for all flags, or use JS, for example. with jQuery enabled:
// how to collect checked ids of checkboxes. var ids = []; var boxes = $('input[name="id[]"]'); for(var i in boxes) { if(boxes[i].checked) { ids.push(boxes[i]); } }
to link something like the above, for example. on('click') your sumbit button. Here on SO there are pletny examples of how to prepare and submit a form using JS.
Edit:
there is an even easier way. You must add id to the form:
<form class="form-inline" name="bulkcopy" id="bulkcopy" method="post" action="bulkcopy.php?from=sights">
and set your flags for it:
<input type="checkbox" name="id[]" value="1" form="bulkcopy"> <input type="checkbox" name="id[]" value="46" form="bulkcopy">
which should easily fix your problem.
Remember to remove the extra closing form tags:
// -----------------------------------------------------------v <input type="checkbox" name="id[]" value="1" form="bulkcopy"></form>
they can easily damage your decision later. Just close right after your submit button:
<input class="btn btn-primary" type="submit" name="submit" value="Go"><br /><br /> </form>
yergo
source share