Hello!
Thanks, Gabriel! I will try that!
Tom: we have a very twisted sales team :)
We send the sales guys in the field with pre-filled contracts to be signed.
We number these contracts each morning with consecutive numbers: 1,2,3,4 and
we insert them in the DB and associate with potential
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
I'm intrigued...why would you want to change the id?
On Fri, May 21, 2010 at 1:51 PM, Mihai Rusoaie mi...@rusoaie.com wrote:
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