I would like to use a plugin/library for Ractive.js for validating forms, but I can not find any good plugin/library. Any suggestion? Thanks in advance
I would like to use a plugin/library for Ractive.js for validating forms, but I can not find any good plugin/library. Any suggestion? Thanks in advance
Any validation library will do. You just have to wire the library to ractive yourself though. The easiest one I've used was http://validatejs.org/ because it validates plain objects (which work best with observers and
ractive.get()
) and didn't have to deal with forms and the DOM.