name form inputs like : data[User][first:name].
or
$this->data['User']['first_name] = $this->params['form']
['first_name'];
...

On Sep 10, 8:15 pm, hydra12 <[EMAIL PROTECTED]> wrote:
> I'm trying to use the froms from EXTJS with cake.  When my form posts,
> this is what is in $_POST:
>
>     [action] => submit
>     [last_name] => Buckner
>     [first_name] => Mark
>
> Nothing shows up in $this->data.  How do I get it into this format?
>
>     [data] => Array
>         (
>             [User]=>Array
>                 (
>                     [last_name]=>Buckner
>                     [first_name]=>Mark
>                 )
>         )
>
> This seems to be the format Cake expects.
>
> Thanks!
> hydra12


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" 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