I will not accept this answer until I run away that someone does not have the best, but I have come to a decision. I went for the PRG template (post-redirect-get).
if ($request->isPost()) {
if ($form->isValid($request->getPost())) {
return $this->_helper->redirector('index','contact',NULL,array_filter($form->getValues()));
}
}
This redirects the URL with the form content as parameters - www.url.com/form/param1/val/param2/val
The array_filter command removes all empty parameters, which means that you get a nice clean, bookmarked, convenient URL that zend_paginator works without.
source
share