Hallo, ich habe ein großes Problem mit meinem Formular. Ich bekomme die Daten des Formulars in $this->params['form'] übergeben und nicht in $this- >data.
Hier der Code:
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
