[eluser]LuckyFella73[/eluser]
Your title says that you are trying to return an array from
a callback function called while using the form validation class.
I would say you can only return true or false in that case.
Maybe you meant just processing the data in the callback before
returning true/ false? I would try to store the values in a session then.
Should work as well to store the data like
Code:
$this->my_data = array(...);
What is better in your case is hard to say without knowing what you
are going to do exactly.