I believe you have to use saveAll() in this instance, validates() only
supports 1 array dimension.

On Feb 14, 9:23 am, Dee Johnson <[email protected]> wrote:
> I'm not 100% sure I understand what you are going for here, but if all you
> want to do is validate the input THEN save, which is what I gather from your
> question (please correct me if I'm wrong) then you need to move your
> validation code to the model and anything else if you want to do before a
> save you can put it in a callback. i.e beforeSave in the model as well
>
> I hope this helps

-- 
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

Reply via email to