I am working with knockout validations . I want to display custom message for min and max length .I have tried with some options and I cant able to achieve it.if anyone achieved it already, please share me how I can do that.
here is what I am trying right now.
var viewModel = {
firstName: ko.observable().extend({
minLength: [
3,
'Please enter Valid number']
, maxLength: 10
}),
}
Do I have to really go for the RegEx for this.