How can I loop through results on a coldfusion page and grab the ids of the records that are checked and send just a list of ids to another page to be queried? The ids of the records are in the field next to the checkbox. Here is an example:
check tag_num serial_# po_number descrip
[] FT0077769 test 12345 test
[] FT0077776 test 12345 test
[] FT0077789 test 12345 test
If I check the first two records I want to send over the tag_num to another page to be queried and display only those two records.
I know I need to use a cfloop list and that I need to have a ',' list, but I also need to put each tag in ' ' because that list will go to a query on the processing page. I am just not sure where this goes in the first page. Inside the form?