Thank guys, now it is working! On 4 Jun., 17:27, calvin <[email protected]> wrote: > 1. Controllers are plural. So it would be 'checkouts' not 'checkout'. > 2. Read the Cookbook; you're not using $form->input() correctly. > > On Jun 4, 6:47 am, Christoph <[email protected]> wrote: > > > hi, > > > i have a little bit trouble because i don't get anyformdatain $this->data. > > i only get thedatain $this->params['form']. is there a way to > > > change that? that myform: > > > print $form->create("Checkout", array( "url" => array("controller" => > > "checkout", "action" => "step2"), > > > > "type" => "post")); > > > print $form->input ("select", array ( "options" => > > array("Herr" => > > "Herr", "Frau" => "Frau"), > > > > "label" => "Anrede:", > > > > "name" => "anrede", > > > > "id" => "anrede" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Name:", > > > > "name" => "name", > > > > "id" => "name" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Vorname:", > > > > "name" => "vorname", > > > > "id" => "vorname" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Straße, Nr:", > > > > "name" => "strasse", > > > > "id" => "strasse" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Postleitzahl:", > > > > "name" => "plz", > > > > "id" => "plz" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Email:", > > > > "name" => "email", > > > > "id" => "email" > > > > ) > > ); > > > print $form->input ("input", array ( "label" => > > "Telefon:", > > > > "name" => "telefon", > > > > "id" => "telefon" > > > > ) > > ); > > > print $form->end("buttons/weiter.png");
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 [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
