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

Return to Zend Framework

Who is online

Users browsing this forum: No registered users and 6 guests