I got caught by the phantom data loss:  the $data array after POSTing
doesn't contain the all the fields from the Model->read; only those
that aren't disabled - so if you fail validation, and the form is
redisplayed, the data which was originally populated via the Model-
>read will have lost the fields which were disabled.

Readonly and css was the way that I used... otherwise you can't use
the 'Input' styling for consistent looks & view code.

-C
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to