I create a Zend Form checkbox and I would like to display some custom html by the setlabel property.
My model building model
$terms = new Zend_Form_Element_Checkbox('confirm_terms');
In my view of Script
$this->form->confirm_terms->setLabel('<a href="'.'/index/terms'.'">Terms of Service</a>');
However, since setLabel speeds up the output, which it displays as is.
Any creative ways to render the setlabel property as CustomHTML?
source
share