Friday, June 4, 2010

No form data

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 cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en

No comments: