Subscript or Superscript text within a Zend Form label

Posted by Dave Morris on Stack Overflow See other posts from Stack Overflow or by Dave Morris
Published on 2010-03-18T22:01:17Z Indexed on 2010/03/21 13:11 UTC
Read the original article Hit count: 580

Filed under:
|
|
|

I would like to include subscript text in a Zend_Form_Element's label, and it doesn't seem to be working:

 $zend_form_element->setLabel('Label <sub>x</sub>');

Is there anything I can do to get it to output properly without having to manually write the form on the view page? Thanks for the help,

Dave

© Stack Overflow or respective owner

Related posts about zend-form

Related posts about zend-framework