However I suppose to do that you might have to use twice the tag decorator.
When that case you have to use aliased:

http://framework.zend.com/manual/en/zend.form.elements.html#zend.form.elements.decorators

// Alias to 'FooBar':
$element->addDecorator(array('FooBar' => 'HtmlTag'), array('tag' => 'div'));

(I don't think it will be valid html; you should use ul/li instead of
dl/dt/dd in that case)


bouzafr wrote:
> 
> Hello everyone,
> 
> Just a simple question I hope that some one got this same problem an fix
> it.
> 
> I just want to enclose groups of dtDd in a tag, so it looks like this:
> 
> <form ...><dl>
> <div class="row_group">
> <dt><Label ...></Label></dt>
> <dd><input type="text" ...></dd></div>
> ...
> <div class="row_group">
> <dt><Label ...></Label></dt>
> <dd><input type="text" ...></dd></div>
> </dl>
> </form>
> 
> But I tried a few different ways with no luck... any help will be
> appreciated.
> 
> Thank you.
> 
> Roberto
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Form-decorators.-tp15949543s16154p15949773.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to