I have a SubForm that and I'd like to set the content of its related dt.
This is the first part of what I'm currently getting:
<dt> </dt><dd><fieldset id="fieldset-phone"><dl>...
What I want to do is replace the " " above with the word "Phones". It
appears that there is no setLabel on SubForms like there is on form
elements. There is a setLegend but that does not affect the dt, it only adds
a legend element:
<dt> </dt><dd><fieldset id="fieldset-phone"><legend>Phones</legend>
<dl>...
My guess is that I need to get a reference to the DtDdWrapper decorator and
set an option on that. However, I'm not sure what option(s) I'd use:
$phoneSubForm->getDecorator('DtDdWrapper')->setOption('?',
'Phones');
Is this possible and if so am I going about it all wrong?
Thanks,
Bradley
--
Bradley Holt
[EMAIL PROTECTED]