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

[eluser]Jim Higgins[/eluser]
Is there a way to submit a form when a Pagination link is clicked? And, if so, is there a way to do it without modifying the core Pagination class?

Basically, I have a search form on a page that displays search results and has pagination links. If something changes in the form and a user clicks a pagination link rather than the submit button, I'd like to run them through the controller and be able to read the new POST input. However, if the form does not submit when the pagination link is clicked, the controller does not recognize any new POST inputs. I know I'm missing some very easy solution here, but my brain is a bit sleepy right now.

My instincts tell me to add a Javascript submit to each of the pagination links onclick. However, from what I can tell, this would require modifying the Pagination class.


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