[eluser]PV-Patrick[/eluser]
On validation, using a callback method... Is it possible to return 2 results? I am wanting to use a callback to return both data and boolean.... since I think the validation class works off boolean only. Any suggestions?
EDIT: Can I return anything I want with the callback for a TRUE instance? Let's say instead of returning TRUE, I return an array?
I'll refine what I am trying to do a little...
I want to validate a form, in doing so call a callback to validate certain items and if it passes, I want to return data from that validation function to the SUCCESS portion of the validation process. Is this possible?
Basically....
if($this->validation->run() == FALSE) {
} else {
Use return data from callback_function
}