Last Updated: February 25, 2016
· colemike
1140 36572794390 101 n

Knockout Validation Groups

To only validation certain properties in your Knockout ViewModel, you'll need to set up Validation Groups (it's a similar concept to ASP.NET WebForms ValidationGroups). The accepted answer in this StackOverflow post shows a clean and clear way of doing this:

tl;dr: Group each property in a proxy object and validate each proxy object instead of the entire ViewModel.

Say Thanks