I am trying to use knockout.validation plugin. I created an exampleViewModel :
function exampleViewModel() { this.P1 = ko.observable().extend({ required :
As described in the documentation the right way to validate only specific observables is:
this.errors = ko.validation.group([this.P1, this.P2, this.P3]);