I have considered this and to be honest I will have to go down this
route for this particular validation rule as it also has a dependency,
but I was trying to get to the bottom of two things for future use:

1. How do I apply the built-in 'multiple' validation rule?

2. If Model::saveAll() saves HABTM data why does it not validate that
data first?

I have worked out the answer to question 1 but do not have an answer
for question 2.  Is this something I need to submit as a ticket as I'm
sure saveAll should validate any data it then saves for security
purposes?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
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