Hi,

You usually use the form helper with the name of your user model, ie:

$this->Form->create('User');

That would make the id and name to be fixed.

Jose

On Aug 30, 6:16 pm, Alexis Laporte <[email protected]> wrote:
> Hello people,
>
> I'm new at this cake thing ; facing difficulties with FormHelper.
>
> Problem is : I use the helper in the layout, to output a login form
> (mail + password). Its html id changes all the time (depending upon
> the URL : its id is wheter LoginAddForm or LoginIndexForm or
> LoginEditForm, etc.). Thus, I can't get the POSTed inputs in my
> controller (since I don't know which id to use : $this-
>
> >data>['loginID????']['password'])
>
> What to do ? Any way of fixing the ID ? (the API did not help :().
>
> Thanks,
> Alexis.

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