Hello is posible to render and validate zend form in some individual ajax action?
Eg. now I have document controller with many forms (files, cost, contacts ...) in twitter bootstrap modal and if I want to edit eg. contact I have in my document controller if ($this->_request->isXmlHttpRequest())...$this->_helper->json($form_edit_contact->getMessages());...
and ajax is working with it. So in my case, document controller is very large and messy.
Can I have some other ajax action with view where I´ll render and validate this form and ajax will be called by jquery after click on edit_contact button? Hope you understand my question. Thx
Aucun commentaire:
Enregistrer un commentaire