CodeIgniter Forums
Submitting a paginated form - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23)
+--- Thread: Submitting a paginated form (/showthread.php?tid=32922)



Submitting a paginated form - El Forum - 08-09-2010

[eluser]ToretoTech[/eluser]
Hi all:

This is my first summer using CodeIgniter - I must say I am loving it so far. I was wondering if anyone could help me with a little issue I ran into recently.

I currently have a page wich lists a bunch of products in a paginated table. Each row has a checkbox that would add that product to the post(submit) request. However, because each time I change page, the get request clears the form, I lose any products that were checked.

My question is, what is the nicest way of posting the data back each time the page is changed so that I can remember what was selected and then post all that data once the user click on the "Submit" button.

Thanks in advance for any help. It is greatly appreciated!