That's one of the hardest parts of Zend_Form IMO.
It's hard to get good samples of how to design forms with definition lists.
I've never been happy with the result so I generally render what I need
manually, and wrap things in fieldsets and divs.

eg:
<fieldset>
<legend>Form Section</legend>
<div>
<?php echo $this->form->element_name->renderLabel();?>
<?php echo $this->form->element_name->renderViewHelper();?>
<?php echo $this->form->element_name->renderDescription();?>
<?php echo $this->form->element_name->renderErrors();?>
</div>
</fieldset>

I then used the techniques in this tutorial for styling:
http://articles.sitepoint.com/article/fancy-form-design-css
-- 
View this message in context: 
http://zend-framework-community.634137.n4.nabble.com/Displaying-input-Form-tp2259705p2263672.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to