title: Is there a way to add field error instead of form error from custom validator that is associated to the class in Symfony2?
body: <p>I have created custom validator that validates object comparing its fields (it uses EntityManager to validate fields).
  When the object is invalid MyValidator adds error message to Form object, because validator is associated to Entity not Field.</p>
  
  <pre><code>/**
   * @StrictAssert\MyValidator
   */
  class State extends MyEntity
  {
  ...
  }
  </code></pre>
  
  <p>Is there a way to add Field error instead of Form error when validation fails?</p>