Re: Validation before save()

2007-01-29 Thread AD7six
On Jan 29, 10:14 am, Michal Bilcik <[EMAIL PROTECTED]> wrote: > Nazdar, > > 29. 1. 2007, codecowboy napisal: > > > I'm not sure if I fully understand your problem, but if you are trying > > to save without validating then call save like this:No, i need validating > > without saving. In my model

Re: Validation before save()

2007-01-29 Thread Michal Bilcik
Nazdar, 29. 1. 2007, codecowboy napisal: > I'm not sure if I fully understand your problem, but if you are trying > to save without validating then call save like this: No, i need validating without saving. In my model I have standard validating rules: var $validate = array( 'name' => V

Re: Validation before save()

2007-01-28 Thread codecowboy
I'm not sure if I fully understand your problem, but if you are trying to save without validating then call save like this: // Tell the model to save without validating the data $this->Model->save($this->data, false); - This is a snippet from the Cake API about the model funct