Hi,
I'm using cake 1.2.0.5146alpha.
When I create a form using the $from->create method The from ID I get
is always the same ID.
For my Users controller I do:
echo $form->create('User',array('action'=>'/
resetPassword','type'=>'get'));
and get the id of 'UserAddForm'.
I have dug in the code and notice that the id is generated by this
line:
'id' => $model . ife($created, 'Edit', 'Add') . 'Form',
which means every form can have 1 of 2 id possibilities:
UserAddForm or UserEditForm
The problem is that when I have 2 forms in the same page they both get
the same ID.
And when I submit one form via get (in my example) I also get an empty
field from another from.
Bug?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake
PHP" 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
-~----------~----~----~----~------~----~------~--~---