Do you have an id field on the form (and therefore in the data array)? Jeremy Burns Class Outfit
[email protected] http://www.classoutfit.com On 13 May 2011, at 12:15, heohni wrote: > Ok I see and I removed the required=> true. > But this is not solving my problem. > > When I open the edit form, and I delete on of my required fields ans I > submit => I get the error 'cant be empty...' > But when I fill it, the isUinique message appears, and futher => when > I change the value of the isUnique field, it's saving me an entire new > data block!! > How strange is this?? > > And this happens to me in 2 different models? > > -- > Our newest site for the community: CakePHP Video Tutorials > http://tv.cakephp.org > Check out the new CakePHP Questions site http://ask.cakephp.org and help > others with their CakePHP related questions. > > > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
