• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Codeigniter is_unique form Validation rule is not working

#1
[eluser]Unknown[/eluser]
i am using codeigniter 1.7.2. To check the unique entry of a field i am using is_unique in form validation rules. but this thing is not working.

what should i do. Need some help here:

Code:
$this->form_validation->set_rules('cname','company name','required|xss_clean|is_unique[company_basic.company_name]');

there is no error either..


Messages In This Thread
Codeigniter is_unique form Validation rule is not working - by El Forum - 01-07-2012, 09:25 PM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.