Errol Farro
asked on
Coldfusion: Datatable does not return all checkeded checkboxes
I am loading a JQUERY Datatable using Coldfusion. The first column is a check-box where user can select all the line items which should be deleted
Once rows are selected and clicking up on submit button then the id's of selected rows should send back to the Coldfusion program.
The challenge I am having is the only items selected on the current page are returned to the Coldfusion program.
Example 1
=========
Lines checked on page 1: line 1, line 3 and line 5
Lines checked on page 2: line 12
Submit button pressed from page 1
Result ---> line 1, line 3 and line 5 are returned. Line 12 not returned (verified by doing <cfdump var = "#form#">)
Example 2
=========
Lines checked on page 1: line 1, line 3 and line 5
Lines checked on page 2: line 12
Submit button pressed from page 2
Result ---> Line 12 returned. Line 1, line 3 and line 5 are not returned. (verified by doing <cfdump var = "#form#">)
Once rows are selected and clicking up on submit button then the id's of selected rows should send back to the Coldfusion program.
The challenge I am having is the only items selected on the current page are returned to the Coldfusion program.
Example 1
=========
Lines checked on page 1: line 1, line 3 and line 5
Lines checked on page 2: line 12
Submit button pressed from page 1
Result ---> line 1, line 3 and line 5 are returned. Line 12 not returned (verified by doing <cfdump var = "#form#">)
Example 2
=========
Lines checked on page 1: line 1, line 3 and line 5
Lines checked on page 2: line 12
Submit button pressed from page 2
Result ---> Line 12 returned. Line 1, line 3 and line 5 are not returned. (verified by doing <cfdump var = "#form#">)
How are you storing the checked value on page 1 on page 2 so they can be submitted with the page 2 submit?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.