title: how to remove a form field in embedded forms from symfony 2 controller
body: <p>I have a form as below:</p>
  
  <pre><code>class AdminEmployerForm extends AbstractType {
  
      public function buildForm(FormBuilderInterface $builder, array $options) {
          $builder
              -&gt;add('firstName', 'text')
              -&gt;add('user', new AdminUserForm());
      }
  }
  
  
  class AdminUserForm extends AbstractType {
  
      public function buildForm(FormBuilderInterface $builder, array $options) {
          $builder
              -&gt;add('username', 'text')
              -&gt;add('email', 'text');
      }
  }
  </code></pre>
  
  <p>I am calling AdminEmployerForm in controller and I want to remove email field of AdminUserForm from AdminEmployerForm:</p>
  
  <pre><code>$form = $this-&gt;createForm(new AdminEmployerForm, $employer);
  //i want to do something like $form-&gt;remove('email')
  </code></pre>
  
  <p>how can i do use $form->remove() to remove field in embedded form? Is it possible to remove a field of embedded form from controller?</p>