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.

Reply via email to