array('username, username','exist','allowEmpty' => false, 'attributeName' => 'username', 'className' => 'Kullanici'),
Hello I’m using this validate array on f rules(), but i want to check it for availability, so if table has that username which is written by user it validates… How can i reverse this or how can i do an username availability check? Should i do it after submit in model?
Thank you