Validator for tFormer.js (http://tformerjs.com)