Just make it a custom form, locate it in library, at a level next to your application dir (where your custom classes go).

class LocationForm extends Zend_Form{
   public function init(){
      parent::init();
       //your form is create here
   }
}

require_once ROOT.'/library/LocationForm.php';

$this->view->locationForm = new LocationForm();

//there you are.

Bart

Rohit83 schreef:
Hi All,
I have developed one form lets say for adding location for User and  For
Club.
For that i have developed one form named location and i want to use that
form everywhere when i am adding location.
Anybody Please help me,how i can reuse that form
thanks  in advance,
Rohit

Reply via email to