Welcome Guest, Not a member yet? Register   Sign In
Submit a form from Pagination link
#6

[eluser]CI_Newb[/eluser]
First of all, sorry for bringing this thread back from the dead but this situation is what i'm dealing with right now.

On my search page
[search form with lots of fields}
[table that displays pagination and results]

Now a user fills out the form and it submits to the results function which gathers the results and loads the pagination.

Page reloads properly with the query results and the proper pagination links. But if the user clicks on a pagination button, it is set to reload the page but since no form was submitted, it basically queries the table with no criteria from the search form and pagination breaks.

What I thought of to solve this was to make a hidden form that stores the values from the search form and if a user clicks a pagination button, it submits that hidden form back to the results controller. Only problem is I can't figure out how to submit that form.


Messages In This Thread
Submit a form from Pagination link - by El Forum - 04-03-2008, 07:16 PM
Submit a form from Pagination link - by El Forum - 04-04-2008, 01:48 AM
Submit a form from Pagination link - by El Forum - 04-04-2008, 01:59 AM
Submit a form from Pagination link - by El Forum - 04-04-2008, 02:15 AM
Submit a form from Pagination link - by El Forum - 04-04-2008, 02:28 AM
Submit a form from Pagination link - by El Forum - 11-27-2010, 04:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB