Validation of the ViewModel/ with Knockout-Validation offers distinct advantages of JQuery validation, MVC validation etc, which are validating the View/'s markup.

The advantage is that instead of validating a View/ serialiazation of the data in an error-prone way (eg: “$3.00” in an input@value has to be first parsed/converted to a number), just validate the actual ViewModel/ property directly.


  • simpler,
  • less error prone,
  • more testable.
  • /home/skysigal/public_html/data/pages/it/ad/knockout-validation.js/home.txt
  • Last modified: 2023/11/04 03:26
  • by