Form validation error doesn't show! CPHP 1.3
I have a user model and in my user model i have
User Model
?php
class User extends AppModel {
var $name = 'User';
var $displayField = 'username';
var $validate = array
OK, I found the problem I was using this function some how this
function disables errors. please help..
function _refreshAuth($field = '', $value = '') {
if (!empty($field) !empty($value)) {
$this-Session-write($this-Auth-sessionKey .'.'.
$field,
I found the solution :D,
just update the required fields.
$this-_refreshAuth('username',$this-data['User']['username']);
--
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