I realize that I should be able to do this, but what can I say, I don't get it. I've even rtfm'ed until my eyes fried. I learn best by examples, not the deep explanations that Zend's docs give, or the typical "use decorators" response that this type of questions usually produce. What I need is markup like this:
<dt> <label for="name">Name</label> </dt> <dd> <input type="text" name="name" id="name" value=""> <a href="#">My Link</a> </dd>
Its all vanilla, except the extra LINK after the input. Yes, its inside the dd, right next to the link, and that's what I can't get to happen.
Here is the (slightly modified) code that I used to create the above HTML
$name = new Zend_Form_Element_Text( 'name' ); $name->setLabel( 'Name' ); $this->addElements( $name ); $this->addDisplayGroup( array( 'name' ), 'people');
Any example code or better explanation would make this noob very very happy.
Cheers!