As Alastair James' advise (who is the writer of above original post) I add
following code to action


//to add elements to form
$form->addElement($username)
            addElement($description); 


//assigned the form to the view before rendering it
$this->view->form=$form;
$this->view->render("create.phtml");//view script

But still have a error.

Message: Decorator by name Element does not exist
-- 
View this message in context: 
http://www.nabble.com/Is-this-easy-way-to-create-Complex-forms---tp25238600p25243070.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to