Can someone explain to me how to use express validator middleware v5.x and 
ejs,
for example I need to validate that the minimal length of username not less 
than 5 
and then show up any error message produced by the validator on EJS layout.
I know Express validator has a .islenght validation but how to implement 
this
on my route and then show up the message any message produced by the 
validator on my EJS layout.
I need just a brief example.



-- 
Job board: http://jobs.nodejs.org/
New group rules: 
https://gist.github.com/othiym23/9886289#file-moderation-policy-md
Old group rules: 
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
--- 
You received this message because you are subscribed to the Google Groups 
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nodejs+unsubscr...@googlegroups.com.
To post to this group, send email to nodejs@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/nodejs/772ac1e1-6bda-4eb3-8f55-a3cceaf4a3cd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to