Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Form validation callback method in MODEL instead of controller -- Read me if you want the answer.
#1

[eluser]Mirge[/eluser]
So in my model I have:

Code:
$this->form_validation->set_rules('how_completed', 'How is the transaction completed?', 'callback_how_completed');

...
...
...

    public function how_completed($notUsed)
    {
        echo "got here - outside if statement"; exit;
    }

And the callback is NOT being called. Thoughts?


Messages In This Thread
[SOLVED] Form validation callback method in MODEL instead of controller -- Read me if you want the answer. - by El Forum - 08-04-2011, 12:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB