Published on April 04, 2006 and tagged with cakephp tip validation
There is a small bug in the validation approach I described in an earlier post and in the wiki. The following two lines should be outside of the foreach loop:
$this->validationErrors = $errors; return $errors;
Name (required)
E-Mail (required, will not be published)
Website (OpenID enabled)
Your comment (for code please use <code>...</code> [no escaping necessary])
Authenticate this comment using OpenID.
Notify me of followup comments via e-mail
© daniel hofstetter. Licensed under a Creative Commons License