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
-~----------~----~----~----~------~----~------~--~---

Reply via email to