Sorry, but this is a cake solution! Cake offers the custom rules :) Anyway, it may seem that I misunderstood the OP issue! The OP has a multiple choice (f.ex. checkboxes) and wish to be sure that at least one is specified! I thought it was that at least one associated record must be specified/ chosen in a HABTM association.
Enjoy, John On Oct 7, 1:13 pm, WebbedIT <p...@webbedit.co.uk> wrote: > @john: why does everyone refer people with this problem to creating > their own custom rules when cake has one in it's core which would work > fine if saveAll checked it before saving? Surely we should be making > the core work properly than just diverting people to solve it via > custom rules? --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---