Yes, I did try that. There is a field for confirm password as well and that
is all that is being presented to the controller.

On Fri, Mar 26, 2010 at 1:29 AM, Jeremy Burns <jeremybu...@me.com> wrote:

> Have you debugged the data that is being presented to the controller
> function? Set debug to 2 and type die(debug($this->data)); as the first
> instruction, then take a look at what you see. Is password there? You might
> need to do something like $this->data[0]['password'], for example.
>
> Jeremy Burns
> jeremybu...@me.com <jeremybu...@mac.com>
>
>
> On 25 Mar 2010, at 22:01, Ed Propsner wrote:
>
> I'm still goofing with forms, ajax, validation, etc. trying to learn Cake.
>
> I have a form set up with a field for password    [code]
>   $form->input('User.password');   [/code]
>
> When I reference that field in the controller [code]   $pw1 =
> $this->data['User']['password'];    [/code]
>
> I keep getting "undefined index for password." It looks okay, what else
> could be the issue ?
>
> Also, I thought I had the ajax helper figured out for the most part but
> there is still one field that just refuses to cooperate.
>
> [code]
>
> echo $html->tableCells(array('Username:', $form->input('User.username',
> array('label' => '')), '<div id="nameAvail"></div>'));
> echo $ajax->observeField('UserUsername', array('url' => 'checkUsername',
> 'update' => 'nameAvail'));
>
> [/code]
>
> - Ed
>
>
>
>
>
> 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+unsubscr...@googlegroups.com For more options, visit this group
> at http://groups.google.com/group/cake-php?hl=en
>
> To unsubscribe from this group, send email to cake-php+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>
>
>  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+unsubscr...@googlegroups.com<cake-php%2bunsubscr...@googlegroups.com>For
>  more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
>
> To unsubscribe from this group, send email to cake-php+
> unsubscribegooglegroups.com or reply to this email with the words "REMOVE
> ME" as the subject.
>

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

To unsubscribe from this group, send email to 
cake-php+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to