title: symfony2: how to set a user attribute (that is not in the form) after submitting a registration form?
body: <p>I have added an attribute "color" the the User class, so when a user is registered I want a random color is assigned to this user.</p>
  
  <p>How to do this smartly?</p>