[eluser]seba22[/eluser]
Hello,
Finally i got it working.
Replace this
Code:
$this->set_error('valid_array_element', 'The %s field can only be one of the following options: ' . implode(', ', $allowed));
to
Code:
$this->error('valid_array_element', 'The %s field can only be one of the following options: ' . implode(', ', $allowed));
function name is just "error" not "set_error"
Regards ;-)