append required legend

For programming and general questions on Zend Framework

append required legend

Postby zensys on 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?
zensys
 
Posts: 23
Joined: Mon Jun 21, 2010 11:19 am

Return to Zend Framework

Who is online

Users browsing this forum: nick84 and 6 guests