Is it possible to override the default minlength error message in the callback invalidHandler ?
Say by default the error message for minlength would be Please enter at least {0} characters. Can this be overriden with the inclusion of the form element say {element} – Please enter at least {0} characters. validator.numberOfInvalids() is able to capture this error but am not able to figure out how to override the error message of the corresponding error.
Any help in this context is really appreciated, Thanks.
See this page for the document ion. I think what you want is to set a message option.
Can’t test this right now, but this is what I would try.