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