[eluser]Unknown[/eluser]
Bogdan,
Yes, I think it is a bug. In my application, I need to have two call back functions in series:
* the first callback rewrites the field contents (it is verified against the database) and thus must return a
string;
* the second callback looks at the rewritten field to determine if it was completely valid or not, and therefore returns a
boolean. If the field is not valid, I still want the user presented with the rewritten field.
I couldn't understand the logic at Form_validation.php:610, and in the end commented out the
return - an outcome very similar to using
continue.
So I believe this code should be reviewed to ensure multiple callbacks can be called, as occurs with inbuilt functions.