Please take your time to read the CakePHP manual at: http://book.cakephp.org/view/1390/Automagic-Form-Elements
so that you understand how to use the Form helper input method! There is clearly stated that the Form helper input method expects the following parameters: input(string $fieldName, array $options = array()) Change your code to conform to this and your data will be placed in the correct array. Enjoy, John On Jun 4, 4:47 pm, Christoph <[email protected]> wrote: > hi, > > i have a little bit trouble because i don't get any form data in $this->data. > i only get the data in $this->params['form']. is there a way to > > change that? that my form: > > 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
