I tested this on today's trunk and 1.5 release
Create a subform:
[subfrm] elements.subfrm.name = "0"; elements.subfrm.type = "radio"; elements.subfrm.options.belongsTo = "subfrm"; elements.subfrm.options.disableLoadDefaultDecorators = "true"; elements.subfrm.options.decorators.ViewHelper.decorator = "ViewHelper"; elements.subfrm.options.value = "true"; elements.subfrm.options.multiOptions.true = ""; elements.subfrm.options.multiOptions.false = "";
After assigning it in the view, print it in the view
The result it:
A quick and dirty fix would be: Editing a part of Zend_View_Helper_FormRadio to:
// Wrap the radios in labels $radio = '_htmlAttribs($label_attribs) . '>' . (('prepend' == $labelPlacement) ? $opt_label : '') . '_htmlAttribs($attribs) . $endTag . (('append' == $labelPlacement) ? $opt_label : '') . '';
I don't think its intended to be fixed there however. I haven't digged into the id attaching for textfields etc enough to provide a better fix, maybe i'll do that later.