Thanks for the help guys. I appreciate it. The reason I need to do this is I need to associate a submitted item (in this case a project) with the logged in user. Is there another way to do this then?
Thanks again! Chris On Mar 21, 4:52 pm, mscdex <msc...@gmail.com> wrote: > I have to agree with John here, you should probably try to keep those > sorts of things out of user-submittable forms. > > Anyhow, the syntax for $form->hidden() is different than you are > trying to use it as. The second parameter is an $options array, so to > set a default value use: > > echo $form->hidden('fieldname', array( 'value' => 'foo' )); --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---