Exclude form fields from Symfony2

Discussion in 'PHP' started by vineld, May 15, 2014.

  1. #1
    I am using Doctrine and forms in order to create and update entities in Symfony 2. In 1.x versions of Symfony it was recommended that you used useFields() and unset() to exclude entity property fields from being updated when posting forms. Is there no easy way to do this in Symfony2?
     
    vineld, May 15, 2014 IP