On 29/02/2008, at 3:58 AM, Malfojan wrote:


How can i add additional information and tags between elements while using
Zend_Form?

For example, how can i add paragraph like this:
<fieldset>
<legend>Some Heading</legend>
<p>Some additional info how to fill out next input</p>
<input  type="text" value="" name="first">
...
<p>Some additional info how to fill out second input</p>
<input  type="text" value="" name="second">

</fieldset>

I really can't get trough this.
Thanks for replies!

Have you tried:

$element->setDescription('Some additional info how to fill out next input')

It adds a <p class="hint">Some additional info how to fill out next input</p> to the element.

Nick

Reply via email to