On Wed, Dec 8, 2010 at 4:13 PM, WhyNotSmile <[email protected]> wrote:
> Yes, I've done both of those.

I was going to say that $form->input('password' should be
$form->password('password' but then realised that I do the same. Cake
figures it out, I suppose.

However, you're not closing the form properly. From the API:

--snip--
Closes an HTML form, cleans up values set by FormHelper::create(), and
writes hidden input fields where appropriate.

If $options is set a form submit button will be created. Options can
be either a string or an array.
--snip--

Perhaps there's some magic missing because of that. You're creating
the submit manually, so you'd call it without any params:

echo $form->end();

Also, you should get in the habit of using $this->Form as the old
style is deprecated.

BTW, what do you have in AppController::beforeFilter()?

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

Reply via email to