title: Symfony 2 This form should not contain extra fields
body: <p>I created a form using <code>formBuilder</code> in Symfony. I add some basic styling to the form inputs using an external stylesheet and referencing the tag id. The form renders correctly and processes information correctly. </p>
  
  <p>However, it outputs an unwanted unordered list with a list item containing the following text: <code>This form should not contain extra fields.</code> </p>
  
  <p>I am having a really hard time getting rid of this notice. I was wondering if someone can help me understand why it being rendered with my form and how to remove it?</p>
  
  <p>Many thanks in advance!</p>
  
  <p>Controller</p>
  
  <pre><code>$form = $this-&gt;createFormBuilder($search)
          -&gt;add('searchinput', 'text', array('label'=&gt;false, 'required' =&gt;false))
          -&gt;add('search', 'submit')
          -&gt;getForm();
  
  $form-&gt;handleRequest($request);
  </code></pre>
  
  <p>Twig Output (form is outputted and processed correctly</p>
  
  <pre><code>This form should not contain extra fields.
  </code></pre>
  
  <p>Rendered HTML</p>
  
  <pre><code>&lt;form method="post" action=""&gt;
      &lt;div id="form"&gt;
         &lt;ul&gt;
             &lt;li&gt;This form should not contain extra fields.&lt;/li&gt;
         &lt;/ul&gt;
         &lt;div&gt;
            &lt;input type="text" id="form_searchinput" name="form[searchinput]" /&gt;
         &lt;/div&gt;
         &lt;div&gt;
            &lt;button type="submit" id="form_search" name="form[search]"&gt;Search&lt;/button&gt;
         &lt;/div&gt;
         &lt;input type="hidden" id="form__token" name="form[_token]" value="bb342d7ef928e984713d8cf3eda9a63440f973f2" /&gt;
      &lt;/div&gt;
   &lt;/form&gt;
  </code></pre>