There are at least three possible validation libraries which might work well with Knockout. These include:
- jQuery Validation (jQuery Plugin)
- Knockout.Validation [Knockout Plugin] (https://github.com/ericmbarnard/Knockout-Validation)
- Knock-Knock Validation [Knockout Plugin] (https://github.com/Enome/knockknock)
Supposedly, use of standard jQuery Validation requires the “uniqueName” binding on all form input fields. Knockout doesn't generally need this so it is not provided unless requested (through a binding).
There are two contributed Knockout validation plug-ins. These are are Knockout.Validation and Knock-Knock validation. I noticed Knockout.Validation has been recently updated but Knock-Knock validation has not been updated in about a year.
My assumption then is probably either the standard jQuery validation or the Knock-Knock validation would likely be the preferred standard for use with Knockout and Upshot.
Has anyone used either of these two validation plugins in conjunction with Upshot and the entity meta-data it exposes from the server?
If so, can you please tell me which of the two is recommended for general use and perhaps offer some hints regarding their implementation?
Thank you!