|
|||
|
I am also having this problem.
Zend_Form forms are not showing their descriptions. I have to Code:
echo $this->form->middleName->getDescription(); Code:
$middleName->setDescription('DEBUG TEST');
|
|
|||
|
Problem solved. Was same as mentioned earlier in thread:
You have to add the Decorator for Description to get Description to display. Here is way to render HTML in the Description: Code:
$middleName = new Zend_Form_Element_Text('middleName');
$middleName->setLabel('Middle name');
$middleName->addDecorator('Description', array('escape' => false, 'placement'=> 'prepend') );
$middleName->setDescription('<H1>DEBUG TEST</H1>');
anomie from Access Data Services Last edited by anomie : 07-30-2008 at 08:04 PM. |
![]() |
| Thread Tools | |
| Display Modes | |
|
|