title: How to programmatically hide both field and label of Zend_Element_Checkbox?
body: <p>I am trying to set display:none attribute to Zend_Element_Checkbox. I have managed to hide checkbox itself. Unfortunately label keeps on displaying still.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>$this-&gt;addElement('Select', 'junior_accounts', array(
      'label' =&gt; 'Junior (15yrs &amp; under)',
      'multiOptions' =&gt; $personNumberList,
      'tabindex' =&gt; $tabIndex++,
    ));
  
  $this-&gt;getElement('junior_accounts')-&gt;setAttribs(array('style' =&gt; 'display: none'));
  </code></pre>
  
  <p>Is there any programmatical method of doing this or I need to set class of the element and add appropriate CSS definition?</p>
  
  <p>Thanks!</p>