Customizing a knockout validation message

added by JefClaes
4/29/2013 3:34:04 PM

4 Kicks, 392 Views

Knockout validation is a plugin that allows you to extend observables with validation. If you're familiar with jQuery validation, you will notice that most provided validation rules are very similar. One of the validation rules available out-of-the-box is pattern validation. By default the error message for violating this rule doesn't mention the expected pattern. Let's change this.