Sorry Andy, It is just that your stripped down version doesn't show that :) I stand corrected! Enjoy, John
On Apr 23, 12:55 am, Andy Dirnberger <andy.dirnber...@gmail.com> wrote: > My example does not compare field1 and field2 for uniqueness against > each other, it compares field1 and field2 against the database. When > creating a new record, it will check that the combination of > field1+field2 doesn't already exist in the database. When updating a > record it will check that the combination of field1+field2 doesn't > exist in the database unless the primary key of the submitted data > matches the primary key of the record in the database. > [snip] 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 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