append required legend

For programming and general questions on Zend Framework
Post Reply
Posts: 23
Joined: Mon Jun 21, 2010 11:19 am

append required legend

Post by zensys » Wed Dec 05, 2012 5:48 pm

I would like to append a legend to my form clarifying that the asterisk next to a field means 'required'

I tried:

Code: Select all

$form = new My_Form();
$form->setLegend('* = Required', array('placement' => 'append');
But nothing happens.

Any suggestions?

Post Reply