Hi,
probably the good idea is to keep your form creation in separate files, so you'll minimize size of your controller and of course which is most important you can reuse your form later in other controller too (if that can happen).
I am using the next way:
I have an forms folder where I create my form classes. All my forms inherited Zend_Form so in the constructor you referred the form as $this (don't forget )
then in your controllers you can use the following snippet
$form = new My_Form();
if($form->isValid())........
|