Welcome Guest, Not a member yet? Register   Sign In
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.




Theme © iAndrew 2016 - Forum software by © MyBB