I have an econtracting system. There are about 100 forms. A person can select a form, and have it render right after they select it. I am using ajax to call and get the correct form based on their selection, then passing back the rendered HTML to put in the form container (DIV).
The problem: For some reason, when I render via the ajax action, it is missing the required field markup....the <span> *</span> markup that accompanies the "required" elements. I tested it straight out by using the render() method from a non-ajax action, and it is also missing the markup. Here is a segment of the code from the ajax action....(tried without the new Zend_View, as well as with $this->view). $form = $this->_econSvc->getEcontractForm($params['formId']); $response['econtractForm'] = $form->render(new Zend_View()); echo Zend_Json::encode($response); Thank you so much for any assistance.
