Ticket #2230 (closed bug: fixed)
[validate] custom messages are lost when min/max are converted to range
|Reported by:||Romirez||Owned by:||joern|
The code in the validate 1.2 plugin that converts the minlength and maxlength to rangelength (and min and max to range) ignores the fact that these rules may have error messages associated with them, and defaults to the standard range error message instead of using them.
I'm not quite sure what the purpose of that code is anyway, since minlength and maxlength are sometimes both necessary for the express purpose of having different error messages.