[eluser]Unknown[/eluser]
I've tried to customize my validation messages, but I've a problem. When I rewrite a message like this:
Code:
$this->form_validation->set_message('min_length', 'It must have a min of %s characters');
The result is:
Quote:It must have a min of <FieldName> characters
The first %s is referred to the name of the field and I don't want to show this name because the error message is besides the field.
The question is: Is there any way to reference the function parameter (min length in this case) without reference to the field name?