Saturday, April 2, 2011

Re: 1 form 2 models - how to validate without savingAll?

Hi func0der,

don't take it bad but I think you didn't read well my post, neither the title...

I ask how to do it without savingAll, as I wanted to validate data in diferent steps and save at the end.

Then as euromark pointed out in his blog the if statements check the first element and if it doesn't pass don't check the second so your solution behaves exactly the way I was doing it.

Yet the solution found by euromark is smart and works perfectly.

Thanks though to try to help even further, in this post is not needed but that's a great attitude.

keep it up!

--
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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: