Processing two forms on the same page is not the simplest task in the Zend Framework. After a few attempts, I think I found an elegant solution.
Zend Framework 17 posts
Fix Symphony autoloading in the Doctrine CLI.
Configure your IIS URL rewrite tool to preserve encoded characters in the original URL.
Forms are a tricky part of any Model-View-Controller (MVC) application. They incorporate validation, presentation, and security logic that spans all tiers of the application. Separating these concerns is difficult but important. I'll walk through how I use Zend_Form in Zend Framework 1, but the same principles should apply to any MVC application.
Here's a custom decorator to render your Zend_Form_Element with a <fieldset>.
What if you need to validate input using a callback function that will return False when the input is valid? Here's a custom validator to do the job.
This class is super simple, so we'll begin with the code.