• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue with form validation

#1
[eluser]Ci beginner[/eluser]
---

#2
[eluser]skunkbad[/eluser]
$this->validation->set_rules() should be $this->form_validation->set_rules()

also, your array for configuring bulk rules is not correct, see the docs

#3
[eluser]Ci beginner[/eluser]
---

#4
[eluser]skunkbad[/eluser]
I don't see a reason why the callback wouldn't get called, but for instance, in your username check callback, you wouldn't just return TRUE, you would return $username. Then you use set_value() to use that validated and potentially modified value. Maybe just returning true isn't good enough.


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


Users browsing this thread:
1 Guest(s)


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