Welcome Guest, Not a member yet? Register   Sign In
Field Error messages
#1

[eluser]frist44[/eluser]
Before I start hacking up the Codeigniter files, I wanted to see if anyone has gotten around this.

I have a field with a validation rule of "min_length". The default error message is "%s must be at least %s characters". I actually want it to say "Must be at least [#]". However, if I remove the first %s, and put it where the number would be, it'll put the field name since that is the first parameter.

Anyway to just use the length, and not the label?
#2

[eluser]danmontgomery[/eluser]
Code:
<span style="display: none;">%s</span>Must be at least %s.




Theme © iAndrew 2016 - Forum software by © MyBB