$form->create('Member', array('url' => array('admin' => false,
'controller' => 'members', 'action' => 'region'), 'type' => 'get'));

That should get you what you want,
Nick

On Jul 5, 12:09 pm, cricket <zijn.digi...@gmail.com> wrote:
> What's the proper way to say 'admin' => 0 for a form? I tried:
>
> $form->create('Member', array('type' => 'get', 'action' => 'region',
> 'admin' => 0))
>
> When logged in as admin, this gives:
>
> <form admin="0" id="MemberRegionForm" method="get" action="/admin/
> members/region">
>
> I do not have an admin_region action. Do I need to use 'url' param
> instead of 'action'?

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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

Reply via email to