I want to make routing for form when submitting the form,
$reportRoute = new Zend_Controller_Router_Route('blogsedit/blog_id/:blog_id', array('module' => 'blogs', 'controller' => 'blog', 'action' => 'edit','blog_id' =>NULL));
$routesArray = array('blogs' => $reportRoute);
$router->addRoutes($routesArray);
and in the form I used to make like this
<form action="/blogs/blog/edit/blog_id/<?php echo $blogId?>"
</form>
How can I make the custom routing of the form action ?
You can use the view helper
url().In your case, you would have something like: