Welcome Guest, Not a member yet? Register   Sign In
Displaying errors
#2

[eluser]SPeed_FANat1c[/eluser]
I think you have to create another function, because validation_errors() will only show when $this->form_validation->run() is FALSE, but in your code it is TRUE, so it will not show anything.

If you could check for errors before checking

Code:
if ($this->form_validation->run() == true)

then you could make your own validation rule (read about callback functions http://ellislab.com/codeigniter/user-gui...#callbacks).


Messages In This Thread
Displaying errors - by El Forum - 11-03-2010, 05:03 PM
Displaying errors - by El Forum - 11-04-2010, 03:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB