|
|||
|
Hello all!
I created a formular with Zend_Form but when I watch the html code I see the unwanted tags like "<td>" and "<dd>". Please tell me how to remove these. Many thanks for your time. Thank you. Alex |
|
|||
|
you can change decorator options:
Code:
$username = new Zend_Form_Element_Text('username');
$username -> addValidator('Alnum')
-> setRequired(true)
-> addFilter('StringTrim')
-> addFilter('StringToLower')
-> addDecorator('Label',array('tag'=>'div'))
-> setLabel('Username');
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|