If you don't want to add them by hand ever time. I've written a
function that will do it for you:
http://www.richardathome.com/blog/cakephp-auto-populating-foreign-key-dropdown-fields
On May 8, 3:16 pm, brian wrote:
> Did you fetch a list of Users in your controller? FormHelper can only
> work
Did you fetch a list of Users in your controller? FormHelper can only
work with what's already set in your $viewVars.
On Fri, May 8, 2009 at 5:34 AM, GetIT wrote:
>
> I want checkboxes displaying all users in my database.
>
> For example:
> In my app some users can add new documents and they can
I want checkboxes displaying all users in my database.
For example:
In my app some users can add new documents and they can choose which
users have the right to see the docs.
So in my fileupload form I want to add checkboxes showing all users.
But this doesn´t work.
In the documentation of CakeP