0

This is the line i am facing problem with :

viewModel.errors = ko.validation.group(viewModel);

It is showing error:

Uncaught TypeError: Cannot read property 'group' of undefined

any of the ko.validation.* is not recognized

I am Using jquery-1.7.1.js,knockout2.1.0,knockout-validator.js and want validations over some fields.

Artem Vyshniakov
  • 16,355
  • 3
  • 43
  • 47
ravikant
  • 67
  • 1
  • 1
  • 11

1 Answers1

1

Are you really using the correct file? Its name is

knockout.validation.js

https://github.com/ericmbarnard/Knockout-Validation

Anders
  • 17,306
  • 10
  • 76
  • 144