title: Zend Framework: how to create a sub form with a textfield with label and a submit button without?
body: <pre><code>$sfKeyword = new Zend_Form_SubForm();
  
  // text field
  $tfKeyword = $sfKeyword-&gt;createElement('text', 'keyword');
  $tfKeyword-&gt;setLabel('Search Keyword:');
  
  // add elements
  $sfKeyword-&gt;addElement($tfKeyword);
  $sfKeyword-&gt;addElement('submit', 'submitSqlKeywordCheckerForm', array('label' =&gt; 'Check'));
  
  // prepend labels        
  $sfKeyword-&gt;setElementDecorators(array(
      'ViewHelper',
      'Errors',
      array('Label', array('placement' =&gt; 'prepend')),
  ));
  </code></pre>
  
  <p>I want to display a GUI like</p>
  
  <pre><code>[textfield label] [textfield] [submit button]
  </code></pre>
  
  <p>but the following gets displayed:</p>
  
  <pre><code>[textfield label] [textfield] [submit button label] [submit button]
  </code></pre>
  
  <p>The problem with the above code is that the submit button needs a label which is used on the button, but I don't want a label to be shown left to the button, which can't be circumvented with the decorator</p>
  
  <pre><code>array('Label', array('placement' =&gt; 'prepend')),
  </code></pre>
  
  <p>I basically have two options:</p>
  
  <ol>
  <li><p>Suppress the submit button's textual label (not the one inside the button) OR</p></li>
  <li><p>Delete the label decorator and manually add a simple text before the textfield</p></li>
  </ol>
  
  <p>I have no idea how to add simple text to a form without a hidden input, which then must be labeled, too, so that doesn't help either.</p>
  
  <p>How do I do it?
  Thanks</p>