Hi,

I installed cake 1.3.6 on PHP 5.3.3.

I've just run through the "blog tutorial" and everything's working
fine except "form validation".
For an unknown reason, validating an empty form works and databases is
filled with empty records.

Here is what I used in my model code :

 var $validate = array(
        'title' => 'notEmpty'
        );

Any idea?

Compared to the tutorial, I also had to use $form() instead of $this-
>Form() functions in templates files. Do you know why?

Thanks for your help,

Gaƫtan

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

Reply via email to