You could also take a look at this example which shows how to have different validation based on which action was called for the controller. So you can have a validation based on the 'add' action which is completely different from the validation you might use on 'edit' or 'update'. It also shows how to implement custom/dynamic validation that executes code which means you would be able to do some other Model lookups to verify against.
I was headed down the same path and have come to realize that most of what I thought I was going to need custom code validation for was dealt with nicely by the the different action validations. This is an article by Jonathan Snook well written and easy to implement. http://snook.ca/archives/cakephp/multiple_validation_sets_cakephp/ Lunar Draco 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 [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
