Hello! When I insert an new object in the database, I want the id to be assigned automatically (autoincrement).
In the edit form, however, I want to be able to change the id. I tried to override the BaseForm class widget and validator with: $this->widgetSchema['id'] = new sfWidgetFormInputText(); $this->validatorSchema['id'] = new sfValidatorString(); but with no success (I could see field 'id' in my form, but symfony won't write it in the DB). Thank you! Mihai -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en