1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

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