i want to add all elements in a tr in my zend form .
currently i am doing is add decorators to each element ,
i wrap the content of the element with a div and then warp it with a td .
like this .
$name->setDecorators(
array(
array('ViewHelper',
array('helper' => 'formText')
),
array('Label',
array('class' => 'label')
),
array('HtmlTag',
array('tag' => 'div', 'class' => '')
)
)
);
i want to all elements in a tr .
ex:- <tr> <td>element1</td> <td> element2</td> </tr>
how can i do this . please help ……………… 🙁
This works: