Thanks for your answer. I have make one other mistake. when validate, I have no reset the parameter,so, has no the get parameter, reset the value of id.
Thanks. 2009/2/17 brian <[email protected]> > > Do you mean that the value is not set in the form, or the value is not > in controller's $this->data or something else? > > Also, try creating your form field like this: > > $form->hidden('YourModel.id'); > > On Mon, Feb 16, 2009 at 10:38 PM, Rimoe <[email protected]> wrote: > > hi, > > everyone, > > > > when I added a $validate in the model , > > the validate is show very good, but the hidden value is lost, > > > > I added the hidden code, > > $form->input('id',array('type' => 'hidden')); > > > > > > what should i do? > > > > Thanks > > > > > > > > > > > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---
