Re: Editing model's primary key in forms

2008-07-01 Thread Bryan D
Thanks guys, that works perfectly. I take it the Player.id form is now preferred over Player/id ? I ported my app from Cake 1.1 to 1.2, and probably missed a few things. On Jun 30, 4:41 am, "Jonathan Snook" <[EMAIL PROTECTED]> wrote: > On Sun, Jun 29, 2008 at 6:19 AM, Mr. Matt <[EMAIL PROTECTED]

Editing model's primary key in forms

2008-06-28 Thread Bryan D
I would like to allow a model's primary key field (named id) to be editable, at least upon creation of a new object. I noticed that using syntax like: input('Player/id') ?> doesn't work because CakePHP converts it to a hidden field automatically. Is there some way I can override this? I worked