Where do you set the data for the model ?
like $this->Model->create($this->data); OR
$this->Model->set($this->data) OR
or $this->Model->save($this->data) ?
also use the new validation approach in 1.2
http://bakery.cakephp.org/articles/view/multiple-rules-of-validation-per-field-in-cakephp-1-2
an
i have this
var $validate = array(
'username' => '/[a-z0-9\_\-]{3,}$/i',
'passwd' => VALID_NOT_EMPTY,
'name' => VALID_NOT_EMPTY,
'lastname' => VALID_NOT_EMPTY,
'city' => VALID_NUMBER,
'email' => VA
What validations do you have in your model ? You should not need to
call $this->validateErrors($this->User)..
By the way, are you data saved in the table?
On Aug 12, 12:00 am, stefano <[EMAIL PROTECTED]> wrote:
> ups i know this die() was for debug :P the is without this die() and
> pr();
> bu
ups i know this die() was for debug :P the is without this die() and
pr();
but i still have this problem :(
On 11 ago, 14:18, francky06l <[EMAIL PROTECTED]> wrote:
> well your model can't save the data if you use the code posted.
> Thedie(); prevents the save to be executed.
> remove the cal
well your model can't save the data if you use the code posted.
Thedie(); prevents the save to be executed.
remove the call to die();
On Aug 11, 7:33 pm, stefano <[EMAIL PROTECTED]> wrote:
> hello i have a litle problem with validation data in cakephp1.2
>
> i know that is a noob problem but