Hello,

I have a composite form element, which consists 5 text elements. By Zend
Form default, that 5 text elements are printed inline. I really need to
collapse that text boxes into unordered list items. Can you give me a hint
or a sample Zend Form Decorator code, please?

Zend Form Default Decorator Generates the following:
=======================================

<dt id="feature-label"><label for="feature"
class="optional">Features</label></dt>
<dd id="feature-element">
<input type="text" name="feature1" id="feature1" value="" /><input
type="text" name="feature2" id="feature2" value="" /><input
type="text" name="feature3" id="feature3" value="" /><input
type="text" name="feature4" id="feature4" value="" /><input
type="text" name="feature5" id="feature5" value="" /></dd>


I want list items like:
===============

<dt id="feature-label"><label for="feature"
class="optional">Features</label></dt>
<dd id="feature-element">
   <ul>
      <li><input /></li>
      <li><input /></li>
      <li><input /></li>
      <li><input /></li>
      <li><input /></li>
   </ul>
</dd>


Thank you very much in advance.



---
Enkhbilguun Erdenetsogt

Reply via email to