When constructing a form element I use this...
$this->addElement('hidden', 'productId', array(
'decorators' => array(array('ViewHelper'),
array('HtmlTag', array('tag' => 'p')),
),
));
which formats as html (precisely) this way...
There are two problems with this. First, many input ids with "productId"
produces a validation error. Second, mark-up format is wrong. What must I do
to produce this (with value added to id)...
TIA...
Mike
--
View this message in context:
http://n4.nabble.com/Form-decorators-not-formatting-tp975023p975023.html
Sent from the Zend Framework mailing list archive at Nabble.com.