Zend Framework Zend Zend_Form_SubForm Label

1.4k Views Asked by At

Been looking for a while on how to sort this out. Essentially, I just need to set a label for a Zend Framework Sub Form.

However I try to do this is just doesn't work. Zend Sub Form doesn't have a Label attribute so you can't seem to set it. However, when the form renders, you can clearly see a DT tag inwhich the label should go:

<dt id="password_form-label">&nbsp;</dt>

I have tried everything, and it seems like quite a normal thing to be able to do.

Anyone help?

1

There are 1 best solutions below

1
On

Try using LEGEND...