title: Is there a way to rename a field in a form in Symfony2?
body: <p>I'm using symfony2, I wondering if its possible to rename a field in a Form.</p>
  
  <p>I mean... suppose i have an entity</p>
  
  <pre><code>class MyEntity{
      private $name 
      //more code
  }
  </code></pre>
  
  <p>And i create a type for this entity:</p>
  
  <pre><code>class MyEntityType extends AbstractType
  {
      public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder
              -&gt;add('name')
          ;
      }
  
      public function setDefaultOptions(OptionsResolverInterface $resolver)
      {
          $resolver-&gt;setDefaults(array(
              'data_class' =&gt; 'AppBundle\Entity\MyEntity'
          ));
      }
  
      public function getName()
      {
          return 'entity';
      }
  }
  </code></pre>
  
  <p>Is there a way to rename the field <code>name</code> in the form but the mapping to <code>name</code> attribute works. something like:</p>
  
  <pre><code>    public function buildForm(FormBuilderInterface $builder, array $options)
      {
          $builder
              -&gt;add('MySuperName', null, array("mapping" =&gt; "name"))
              ;
      }
  </code></pre>
  
  <p>So the form param name becomes <code>entity[MySuperName]</code> instead of <code>entity[name]</code> but fills the <code>name</code> property on entity?</p>