forms icon indicating copy to clipboard operation
forms copied to clipboard

*feature* add integration with node-validator

Open tinchoz49 opened this issue 12 years ago • 3 comments
trafficstars

The library node-validator has many advantages that can be use in your forms.

Firstly, it has so much more validations than 'forms'.

Secondly, it provides a lot of sanitization functions that can be help to work with the data in the forms.

https://github.com/chriso/node-validator

tinchoz49 avatar Feb 22 '13 16:02 tinchoz49

:+1: I think that would be great!

mweibel avatar Mar 27 '13 07:03 mweibel

There's nothing preventing you from using https://github.com/chriso/validator.js inside a custom validator - how would you expect the integration to work?

ljharb avatar Mar 12 '14 05:03 ljharb

:thumbsup: on this too. https://github.com/chriso/validator.js is a highly active and battle-tested validation library. i just ran into this forms library and it's exactly what I was looking for. I'll play with integration of node-validator in a few perhaps and see the feel.

j avatar Jun 29 '14 20:06 j