I'm adding a form element like so:
$this->addElement('text', 'product_name', array(
'label' => 'product name',
'... )
);
I'd like to reference the product_name label in the ViewScript decorator script as I'm doing it with product_name text input <?php echo $this->form->product_name; ?> but the label tag rendered by the "addElement" have no "name" attribute. How can I solve the problem?