Jump to content


Problem with unique rule (v.1.3.3)

unique rule Problem unique

  • Please log in to reply
No replies to this topic

#1 Trần Đình Trọng

Trần Đình Trọng

    Newbie

  • Members
  • Pip
  • 8 posts

Posted 23 April 2013 - 09:47 AM

I have a table with 2 unique feild : username & email.

My code :

$crud->set_rules('username','Tên đăng nhập','is_unique[tblpersonnels.username]');
//Tên đăng nhập is Username(Vietnamese)

Add action is ok, but edit action is report unique error, while i am not change username or email in this feild.

 

Thanks







Also tagged with one or more of these keywords: unique rule, Problem, unique

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users