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
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
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.
No comments:
Post a Comment