Hi All,

I am working with the Cake1.2 branch, I now the consequences and I
have noticed some side effects behaviors. I haven't updated from the
branch for 3 days, and I noticed the following :

- When you have an hidden field which is not 'id' of the spotted form
model, the fields input name contains the name of the hidden field. I
have a model called Customer and I have this form that includes input
fields for other models.
$form->create('Customer')
$form->input('id');
$form->input('name');
$form->input('Vehicle.type', array('type' => 'hidden'));
=== now the strange stuff =====
$form->input('Vehicle.licence');
* when looking to the generated form I have :
<input type="text" id="VehicleLicence" name=data[Vehicle][type]
[licence]]/>

The name of the previous hidden field [type] is inserted there, and
will be inserted ill all following fields.

- in the form now, the id is appended to the url form. That's ok,
except that when you submit the form there is always a SELECT COUNT(*)
on this id. This can be sometimes annoying, when I try to handle the
"re submit" because of a usage of back button ..

Well nothing major, but wanted to share this


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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